提交 8eab2510 编写于 作者: F Felix Fietkau 提交者: John W. Linville

ath9k: switch channel after sending beacon

Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
Signed-off-by: NRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 3ae07d39
...@@ -365,7 +365,8 @@ struct ath_chanctx *ath_chanctx_get_oper_chan(struct ath_softc *sc, bool active) ...@@ -365,7 +365,8 @@ struct ath_chanctx *ath_chanctx_get_oper_chan(struct ath_softc *sc, bool active)
if (active && !ctx->active) if (active && !ctx->active)
continue; continue;
return ctx; if (ctx->switch_after_beacon)
return ctx;
} }
return &sc->chanctx[0]; return &sc->chanctx[0];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册