* [PATCH] mac80211: fix parameter confusion when finding IBSS
@ 2009-05-20 7:05 Johannes Berg
0 siblings, 0 replies; only message in thread
From: Johannes Berg @ 2009-05-20 7:05 UTC (permalink / raw)
To: John Linville; +Cc: linux-wireless
When I fixed the crypto bit I must have done the negative
test only -- it is quite clearly impossible to find _any_
IBSS to join with the parameters put the wrong way around.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
net/mac80211/ibss.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- wireless-testing.orig/net/mac80211/ibss.c 2009-05-20 09:01:07.000000000 +0200
+++ wireless-testing/net/mac80211/ibss.c 2009-05-20 09:02:02.000000000 +0200
@@ -535,9 +535,9 @@ static void ieee80211_sta_find_ibss(stru
bssid = ifibss->bssid;
bss = (void *)cfg80211_get_bss(local->hw.wiphy, chan, bssid,
ifibss->ssid, ifibss->ssid_len,
- capability,
WLAN_CAPABILITY_IBSS |
- WLAN_CAPABILITY_PRIVACY);
+ WLAN_CAPABILITY_PRIVACY,
+ capability);
#ifdef CONFIG_MAC80211_IBSS_DEBUG
if (bss)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-20 7:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-20 7:05 [PATCH] mac80211: fix parameter confusion when finding IBSS Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox