projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae07d3
)
ath9k: switch channel after sending beacon
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 11 Jun 2014 10:48:07 +0000
(16:18 +0530)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 19 Jun 2014 19:49:19 +0000
(15:49 -0400)
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>
drivers/net/wireless/ath/ath9k/channel.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/channel.c
b/drivers/net/wireless/ath/ath9k/channel.c
index 364a55502b7d683d62c3407affbac41d2ec9998e..4793de079f774209a4387da142d437acf86e3d66 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/channel.c
+++ b/
drivers/net/wireless/ath/ath9k/channel.c
@@
-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];