projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath9k: Print the event/state in ath_chanctx_event
[cascardo/linux.git]
/
drivers
/
net
/
wireless
/
ath
/
ath9k
/
ath9k.h
diff --git
a/drivers/net/wireless/ath/ath9k/ath9k.h
b/drivers/net/wireless/ath/ath9k/ath9k.h
index
7c8c6f1
..
c690601
100644
(file)
--- 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]; \