Commit 2812eef1 authored by Eliad Peller's avatar Eliad Peller Committed by Luciano Coelho

wlcore: update basic rates on channel switch

On channel switch we have to update the basic rates, in
order to reflect possible band changes (otherwise, we
might start beaconing on 11a with the default rates
of 11g).
Signed-off-by: default avatarEliad Peller <eliad@wizery.com>
Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
parent 8f1a8684
...@@ -2454,6 +2454,7 @@ static int wl12xx_config_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif, ...@@ -2454,6 +2454,7 @@ static int wl12xx_config_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif,
wlvif->channel_type = conf->channel_type; wlvif->channel_type = conf->channel_type;
if (is_ap) { if (is_ap) {
wl1271_set_band_rate(wl, wlvif);
ret = wl1271_init_ap_rates(wl, wlvif); ret = wl1271_init_ap_rates(wl, wlvif);
if (ret < 0) if (ret < 0)
wl1271_error("AP rate policy change failed %d", wl1271_error("AP rate policy change failed %d",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment