Commit 2c3634a8 authored by Sujith Manoharan's avatar Sujith Manoharan Committed by John W. Linville
Browse files

ath9k: Handle failure to send NoA

If for some reason a beacon with a new NoA is
not sent out, then reset the mgd_prepare_tx flag.
Not doing this will result in a situation where
a GO will send a new NoA when it shouldn't.
Signed-off-by: default avatarSujith Manoharan <>
Signed-off-by: default avatarJohn W. Linville <>
parent 6185672a
......@@ -2501,10 +2501,17 @@ static void ath9k_mgd_prepare_tx(struct ieee80211_hw *hw,
if (wait_for_completion_timeout(&sc->go_beacon,
timeout) == 0)
timeout) == 0) {
ath_dbg(common, CHAN_CTX,
"Failed to send new NoA\n");
sc->sched.mgd_prepare_tx = false;
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