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>
This commit is contained in:
Bertold Van den Bergh 2015-08-03 15:45:41 +02:00 committed by Kalle Valo
parent 53cd2fdb00
commit 9b412590fa
1 changed files with 2 additions and 0 deletions

View 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";
}