How is this related to configuration? Shouldn't the configuration check be in cfg80211 instead? johannes On Thu, 2011-09-15 at 18:07 +0200, Marek Lindner wrote: > Signed-off-by: Marek Lindner <lindner_marek@xxxxxxxx> > --- > net/mac80211/ibss.c | 4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-) > > diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c > index 4f9235b..9c7991e 100644 > --- a/net/mac80211/ibss.c > +++ b/net/mac80211/ibss.c > @@ -588,12 +588,10 @@ static void ieee80211_sta_find_ibss(struct ieee80211_sub_if_data *sdata) > capability = WLAN_CAPABILITY_IBSS; > if (ifibss->privacy) > capability |= WLAN_CAPABILITY_PRIVACY; > - if (ifibss->fixed_bssid) > + if (ifibss->fixed_bssid && !is_zero_ether_addr(ifibss->bssid)) > bssid = ifibss->bssid; > if (ifibss->fixed_channel) > chan = ifibss->channel; > - if (!is_zero_ether_addr(ifibss->bssid)) > - bssid = ifibss->bssid; > cbss = cfg80211_get_bss(local->hw.wiphy, chan, bssid, > ifibss->ssid, ifibss->ssid_len, > WLAN_CAPABILITY_IBSS | WLAN_CAPABILITY_PRIVACY, -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html