summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertold Van den Bergh <bertold.vandenbergh@esat.kuleuven.be>2015-08-03 15:45:41 +0200
committerKalle Valo <kvalo@codeaurora.org>2015-08-10 21:21:15 +0200
commit9b412590faaea65dab54f9bc5ae5b48ba0e73c5d (patch)
treeb47c186d49cd388b2da962a71b1b8bb8246861d8
parentbcma: fix access to host_pdev for PCIe devices (diff)
downloadlinux-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>
-rw-r--r--drivers/net/wireless/ath/debug.c2
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";
}