mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-20 07:24:36 +01:00
75d1518a84
SVN-Revision: 18030
12 lines
477 B
Diff
12 lines
477 B
Diff
--- 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);
|