On Sun, 2009-10-11 at 05:21 +0200, Felix Fietkau wrote: > Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx> > > --- 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)) { Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> I'll also send the race fix now, would appreciate you giving it a try. Thanks, johannes
Attachment:
signature.asc
Description: This is a digitally signed message part