All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mac80211: fix compilation failure in ibss debug
@ 2009-02-11 17:04 Johannes Berg
  0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2009-02-11 17:04 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless

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

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
bug introduced in:

commit 663fc3dff0b68e905184794f70e2040988936c70
Author: Johannes Berg <johannes@sipsolutions.net>
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 */



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-11 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-11 17:04 [PATCH] mac80211: fix compilation failure in ibss debug Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.