projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53cd2fd
)
ath: Make ath_opmode_to_string understand OCB mode
author
Bertold Van den Bergh
<
[email protected]
>
Mon, 3 Aug 2015 13:45:41 +0000
(15:45 +0200)
committer
Kalle Valo
<
[email protected]
>
Mon, 10 Aug 2015 19:21:15 +0000
(22:21 +0300)
Make ath_opmode_to_string return "OCB" for NL80211_IFTYPE_OCB. Currently
it will return "UNKNOWN".
Signed-off-by: Bertold Van den Bergh <
[email protected]
>
Signed-off-by: Kalle Valo <
[email protected]
>
drivers/net/wireless/ath/debug.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/debug.c
b/drivers/net/wireless/ath/debug.c
index 508eccf5d982c8d821edec4fc4b8a578bf2e01e2..d59d83e0ce4b9588e5169b2b28121d82935d187b 100644
(file)
--- a/
drivers/net/wireless/ath/debug.c
+++ b/
drivers/net/wireless/ath/debug.c
@@
-40,6
+40,8
@@
const char *ath_opmode_to_string(enum nl80211_iftype opmode)
return "P2P-CLIENT";
case NL80211_IFTYPE_P2P_GO:
return "P2P-GO";
+ case NL80211_IFTYPE_OCB:
+ return "OCB";
default:
return "UNKNOWN";
}