ath6kl: trivial cleanup on interface type selection
PATCH 5/8 ath6kl: trivial cleanup on interface type selection
From: Mohammed Shafi Shajakhan <[email protected]>
a minor cleanup in assigning the driver specific network type based on interface type.
Signed-off-by Mohammed Shafi Shajakhan <[email protected]>
--- drivers/net/wireless/ath/ath6kl/cfg80211.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-)
drivers/net/wireless/ath/ath6kl/cfg80211.c +1 -5
@@ -1557,17 +1557,13 @@ static int ath6kl_cfg80211_change_iface(struct wiphy *wiphy, set_iface_type:switch (type) {case NL80211_IFTYPE_STATION : +case NL80211_IFTYPE_P2P_CLIENT : vif->next_mode =INFRA_NETWORK ;break ;case NL80211_IFTYPE_ADHOC : vif->next_mode =ADHOC_NETWORK ;break ;case NL80211_IFTYPE_AP : - vif->next_mode =AP_NETWORK ; -break ; -case NL80211_IFTYPE_P2P_CLIENT : - vif->next_mode =INFRA_NETWORK ; -break ;case NL80211_IFTYPE_P2P_GO : vif->next_mode =AP_NETWORK ;break ;
Signature · 1 line
1.7.0.4