Commit 8eab2510 authored by Felix Fietkau's avatar Felix Fietkau Committed by John W. Linville

ath9k: switch channel after sending beacon

Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
Signed-off-by: default avatarRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 3ae07d39
......@@ -365,7 +365,8 @@ struct ath_chanctx *ath_chanctx_get_oper_chan(struct ath_softc *sc, bool active)
if (active && !ctx->active)
continue;
return ctx;
if (ctx->switch_after_beacon)
return ctx;
}
return &sc->chanctx[0];
......
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