mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 08:51:46 -04:00
ath9k: Print RoC expiration
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
030bb75a1d
commit
4b60af4ab4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user