ath9k: switch channel after sending beacon

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Felix Fietkau 2014-06-11 16:18:07 +05:30 committed by John W. Linville
parent 3ae07d39ea
commit 8eab25108e

View File

@ -365,6 +365,7 @@ struct ath_chanctx *ath_chanctx_get_oper_chan(struct ath_softc *sc, bool active)
if (active && !ctx->active)
continue;
if (ctx->switch_after_beacon)
return ctx;
}