mac80211: Set changed basic rates flag
authorTeemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Mon, 14 Jun 2010 09:55:32 +0000 (12:55 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jun 2010 19:39:34 +0000 (15:39 -0400)
Add changed basic rates flag to bss_changed while joinig ibss network.

This patch is split from the patch containing support for setting basic
rates when creating ibss network. Original patch was posted by Johannes
Berg on the linux-wireless posting list.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ibss.c

index 9f4e64ed8b835dc5c4b574ef5c41423ecc28090e..93481eb51d2464d2262102cc8ca7dbc598f5f30a 100644 (file)
@@ -178,6 +178,7 @@ static void __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata,
        bss_change |= BSS_CHANGED_BSSID;
        bss_change |= BSS_CHANGED_BEACON;
        bss_change |= BSS_CHANGED_BEACON_ENABLED;
+       bss_change |= BSS_CHANGED_BASIC_RATES;
        bss_change |= BSS_CHANGED_IBSS;
        sdata->vif.bss_conf.ibss_joined = true;
        ieee80211_bss_info_change_notify(sdata, bss_change);