make etehrent work on wrt350n, thx sn9
[openwrt.git] / package / mac80211 / patches / 406-ibss_fix.patch
1 --- a/net/mac80211/ibss.c
2 +++ b/net/mac80211/ibss.c
3 @@ -544,7 +544,7 @@ static void ieee80211_sta_find_ibss(stru
4 "%pM\n", bss->cbss.bssid, ifibss->bssid);
5 #endif /* CONFIG_MAC80211_IBSS_DEBUG */
6
7 - if (bss && memcmp(ifibss->bssid, bss->cbss.bssid, ETH_ALEN)) {
8 + if (bss && !memcmp(ifibss->bssid, bss->cbss.bssid, ETH_ALEN)) {
9 printk(KERN_DEBUG "%s: Selected IBSS BSSID %pM"
10 " based on configured SSID\n",
11 sdata->dev->name, bss->cbss.bssid);
This page took 0.064861 seconds and 5 git commands to generate.