Search Linux Wireless

[PATCH] mac80211: fix compilation failure in ibss debug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
---
bug introduced in:

commit 663fc3dff0b68e905184794f70e2040988936c70
Author: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
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(-)

--- wireless-testing.orig/net/mac80211/mlme.c	2009-02-11 18:02:15.000000000 +0100
+++ wireless-testing/net/mac80211/mlme.c	2009-02-11 18:02:17.000000000 +0100
@@ -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 */


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux