Skip to contentSkip to conversation

mac80211: fix compilation failure in ibss debug

PATCH New Johannes Berg 1 participant 1 message Feb 11, 2009 mac80211

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 mac80211: fix compilation failure in ibss debug

Sorry! Replaced "found" variable in one of the scan patches and forgot ibss debug.

---
bug introduced in:

commit 663fc3dff0b68e905184794f70e2040988936c70

Author: Johannes Berg <[email protected]>
Date:   Tue Feb 10 21:26:00 2009 +0100
    mac80211: use cfg80211s BSS infrastructure
 net/mac80211/mlme.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/mac80211/mlme.c +1 -1
@@ -2340,7 +2340,7 @@ static int ieee80211_sta_find_ibss(struc
 						ifsta->ssid, ifsta->ssid_len);
 
 #ifdef CONFIG_MAC80211_IBSS_DEBUG
-	if (found)
+	if (bss)
 		printk(KERN_DEBUG "   sta_find_ibss: selected %pM current "
 		       "%pM\n", bss->cbss.bssid, ifsta->bssid);
 #endif /* CONFIG_MAC80211_IBSS_DEBUG */