mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-12 05:10:16 +03:00
mac80211: fix ibss join/create
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18030 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6b2799621a
commit
4f01c6f2e6
11
package/mac80211/patches/406-ibss_fix.patch
Normal file
11
package/mac80211/patches/406-ibss_fix.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/net/mac80211/ibss.c
|
||||||
|
+++ b/net/mac80211/ibss.c
|
||||||
|
@@ -544,7 +544,7 @@ static void ieee80211_sta_find_ibss(stru
|
||||||
|
"%pM\n", bss->cbss.bssid, ifibss->bssid);
|
||||||
|
#endif /* CONFIG_MAC80211_IBSS_DEBUG */
|
||||||
|
|
||||||
|
- if (bss && memcmp(ifibss->bssid, bss->cbss.bssid, ETH_ALEN)) {
|
||||||
|
+ if (bss && !memcmp(ifibss->bssid, bss->cbss.bssid, ETH_ALEN)) {
|
||||||
|
printk(KERN_DEBUG "%s: Selected IBSS BSSID %pM"
|
||||||
|
" based on configured SSID\n",
|
||||||
|
sdata->dev->name, bss->cbss.bssid);
|
Loading…
Reference in New Issue
Block a user