Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>

authored by

Eliad Peller and committed by
Luciano Coelho
2812eef1 8f1a8684

+1
+1
drivers/net/wireless/ti/wlcore/main.c
··· 2454 2454 wlvif->channel_type = conf->channel_type; 2455 2455 2456 2456 if (is_ap) { 2457 + wl1271_set_band_rate(wl, wlvif); 2457 2458 ret = wl1271_init_ap_rates(wl, wlvif); 2458 2459 if (ret < 0) 2459 2460 wl1271_error("AP rate policy change failed %d",