* [PATCH] mac80211: fix internal scan request
@ 2009-11-02 10:31 Johannes Berg
2009-11-02 10:42 ` Sujith
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2009-11-02 10:31 UTC (permalink / raw)
To: John Linville; +Cc: Sujith, linux-wireless
The internal scan request mac80211 uses to
scan for IBSS networks was set up to contain
no channels at all because n_channels wasn't
set after setting up the channels array. Fix
this to properly scan for networks.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
Sujith, this might fix the iwlwifi problem?
net/mac80211/main.c | 1 +
1 file changed, 1 insertion(+)
--- wireless-testing.orig/net/mac80211/main.c 2009-11-02 11:23:42.000000000 +0100
+++ wireless-testing/net/mac80211/main.c 2009-11-02 11:23:57.000000000 +0100
@@ -901,6 +901,7 @@ int ieee80211_register_hw(struct ieee802
i++;
}
}
+ local->int_scan_req->n_channels = i;
local->network_latency_notifier.notifier_call =
ieee80211_max_network_latency;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-02 10:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-02 10:31 [PATCH] mac80211: fix internal scan request Johannes Berg
2009-11-02 10:42 ` Sujith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox