|
@@ -365,17 +365,13 @@ static int ath6kl_nliftype_to_drv_iftype(enum nl80211_iftype type, u8 *nw_type)
|
|
|
{
|
|
|
switch (type) {
|
|
|
case NL80211_IFTYPE_STATION:
|
|
|
+ case NL80211_IFTYPE_P2P_CLIENT:
|
|
|
*nw_type = INFRA_NETWORK;
|
|
|
break;
|
|
|
case NL80211_IFTYPE_ADHOC:
|
|
|
*nw_type = ADHOC_NETWORK;
|
|
|
break;
|
|
|
case NL80211_IFTYPE_AP:
|
|
|
- *nw_type = AP_NETWORK;
|
|
|
- break;
|
|
|
- case NL80211_IFTYPE_P2P_CLIENT:
|
|
|
- *nw_type = INFRA_NETWORK;
|
|
|
- break;
|
|
|
case NL80211_IFTYPE_P2P_GO:
|
|
|
*nw_type = AP_NETWORK;
|
|
|
break;
|