ath: Make ath_opmode_to_string understand OCB mode
authorBertold Van den Bergh <bertold.vandenbergh@esat.kuleuven.be>
Mon, 3 Aug 2015 13:45:41 +0000 (15:45 +0200)
committerKalle Valo <kvalo@codeaurora.org>
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 <bertold.vandenbergh@esat.kuleuven.be>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/debug.c

index 508eccf..d59d83e 100644 (file)
@@ -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";
        }