diff options
author | Ashok Nagarajan | 2012-04-03 06:21:19 +0200 |
---|---|---|
committer | John W. Linville | 2012-04-11 22:23:45 +0200 |
commit | d934f7d0d6a3f8aa3049ca0692948ec59d738928 (patch) | |
tree | f6f483260c6fba6fe46d6317c9cc397b3410f80c /net | |
parent | rt2x00: configure different txdesc parameters for non HT channel (diff) | |
download | kernel-qcow2-linux-d934f7d0d6a3f8aa3049ca0692948ec59d738928.tar.gz kernel-qcow2-linux-d934f7d0d6a3f8aa3049ca0692948ec59d738928.tar.xz kernel-qcow2-linux-d934f7d0d6a3f8aa3049ca0692948ec59d738928.zip |
mac80211: Use mandatory rates as basic rates when starting mesh
Signed-off-by: Ashok Nagarajan <ashok@cozybit.com>
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/mesh.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c index 386dbca1eab3..f1d9685d959c 100644 --- a/net/mac80211/mesh.c +++ b/net/mac80211/mesh.c @@ -581,8 +581,12 @@ void ieee80211_start_mesh(struct ieee80211_sub_if_data *sdata) ieee80211_mesh_root_setup(ifmsh); ieee80211_queue_work(&local->hw, &sdata->work); sdata->vif.bss_conf.beacon_int = MESH_DEFAULT_BEACON_INTERVAL; + sdata->vif.bss_conf.basic_rates = + ieee80211_mandatory_rates(sdata->local, + sdata->local->hw.conf.channel->band); ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_BEACON | BSS_CHANGED_BEACON_ENABLED | + BSS_CHANGED_BASIC_RATES | BSS_CHANGED_BEACON_INT); } |