From: Bertold Van den Bergh Date: Mon, 3 Aug 2015 13:45:41 +0000 (+0200) Subject: ath: Make ath_opmode_to_string understand OCB mode X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b412590faaea65dab54f9bc5ae5b48ba0e73c5d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Kalle Valo --- 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"; }