diff options
author | Bertold Van den Bergh <bertold.vandenbergh@esat.kuleuven.be> | 2015-08-03 15:45:41 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-08-10 21:21:15 +0200 |
commit | 9b412590faaea65dab54f9bc5ae5b48ba0e73c5d (patch) | |
tree | b47c186d49cd388b2da962a71b1b8bb8246861d8 /drivers/net/wireless/ath/debug.c | |
parent | bcma: fix access to host_pdev for PCIe devices (diff) | |
download | linux-9b412590faaea65dab54f9bc5ae5b48ba0e73c5d.tar.xz linux-9b412590faaea65dab54f9bc5ae5b48ba0e73c5d.zip |
ath: Make ath_opmode_to_string understand OCB mode
Make ath_opmode_to_string return "OCB" for NL80211_IFTYPE_OCB. Currently
it will return "UNKNOWN".
Signed-off-by: Bertold Van den Bergh <bertold.vandenbergh@esat.kuleuven.be>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/debug.c b/drivers/net/wireless/ath/debug.c index 508eccf5d982..d59d83e0ce4b 100644 --- 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"; } |