diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2014-10-01 21:03:12 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-10-02 14:26:31 -0400 |
commit | 4b60af4ab4363bd79eeba94bb6bed396cf2aaf62 (patch) | |
tree | 3ec20c9412ca4a45b80a99e75d8af47f25603f6f | |
parent | 030bb75a1db4030a5ce91e93b82e00966e8b6522 (diff) |
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) | |||
761 | 761 | ||
762 | void ath_roc_complete(struct ath_softc *sc, bool abort) | 762 | void ath_roc_complete(struct ath_softc *sc, bool abort) |
763 | { | 763 | { |
764 | struct ath_common *common = ath9k_hw_common(sc->sc_ah); | ||
765 | |||
766 | if (abort) | ||
767 | ath_dbg(common, CHAN_CTX, "RoC aborted\n"); | ||
768 | else | ||
769 | ath_dbg(common, CHAN_CTX, "RoC expired\n"); | ||
770 | |||
764 | sc->offchannel.roc_vif = NULL; | 771 | sc->offchannel.roc_vif = NULL; |
765 | sc->offchannel.roc_chan = NULL; | 772 | sc->offchannel.roc_chan = NULL; |
766 | if (!abort) | 773 | if (!abort) |