diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2014-08-24 15:46:11 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-08-28 18:49:39 (GMT) |
commit | 5a8cbec7fb2be3b9a6929d8c22c3e320544d2de4 (patch) | |
tree | 884803dea35c6d02c256940925333f4691f019f7 /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | 02da18b7ec64135fc1b35c036acbd920d2cce2d6 (diff) | |
download | linux-5a8cbec7fb2be3b9a6929d8c22c3e320544d2de4.tar.xz |
ath9k: Print the event/state in ath_chanctx_event
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index 7c8c6f1..c690601 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h @@ -410,6 +410,9 @@ struct ath_offchannel { int roc_duration; int duration; }; + +#define case_rtn_string(val) case val: return #val + #define ath_for_each_chanctx(_sc, _ctx) \ for (ctx = &sc->chanctx[0]; \ ctx <= &sc->chanctx[ARRAY_SIZE(sc->chanctx) - 1]; \ |