diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2014-10-02 06:33:12 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-10-02 14:26:31 -0400 |
commit | 4b60af4ab4363bd79eeba94bb6bed396cf2aaf62 (patch) | |
tree | 3ec20c9412ca4a45b80a99e75d8af47f25603f6f | |
parent | 030bb75a1db4030a5ce91e93b82e00966e8b6522 (diff) | |
download | talos-op-linux-4b60af4ab4363bd79eeba94bb6bed396cf2aaf62.tar.gz talos-op-linux-4b60af4ab4363bd79eeba94bb6bed396cf2aaf62.zip |
ath9k: Print RoC expiration
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/channel.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/channel.c b/drivers/net/wireless/ath/ath9k/channel.c index b93f83cc0b9b..d088f06df2e0 100644 --- a/drivers/net/wireless/ath/ath9k/channel.c +++ b/drivers/net/wireless/ath/ath9k/channel.c @@ -761,6 +761,13 @@ void ath_offchannel_next(struct ath_softc *sc) void ath_roc_complete(struct ath_softc *sc, bool abort) { + struct ath_common *common = ath9k_hw_common(sc->sc_ah); + + if (abort) + ath_dbg(common, CHAN_CTX, "RoC aborted\n"); + else + ath_dbg(common, CHAN_CTX, "RoC expired\n"); + sc->offchannel.roc_vif = NULL; sc->offchannel.roc_chan = NULL; if (!abort) |