summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorZhao, Gang <gamerh2o@gmail.com>2014-04-26 05:43:41 +0400
committerJohannes Berg <johannes.berg@intel.com>2014-04-28 19:53:19 +0400
commitb205786e38b156d1ccaccd4f4ee780345a69cfeb (patch)
tree22d33682760cc667e5e9efcba493624e513d9179 /net/mac80211
parent7df180f7f19355ba3017f6d6d74c2008b66db43d (diff)
downloadlinux-b205786e38b156d1ccaccd4f4ee780345a69cfeb.tar.xz
mac80211: remove unnecessary assignment
P2P_DEVICE doesn't support ieee80211_bss_info_change_notify() for now, so it's not needed to set changed flags for P2P_DEVICE. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index cafbae701d3d..ad058759e85e 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -1671,13 +1671,10 @@ int ieee80211_reconfig(struct ieee80211_local *local)
}
break;
case NL80211_IFTYPE_WDS:
- break;
case NL80211_IFTYPE_AP_VLAN:
case NL80211_IFTYPE_MONITOR:
- /* ignore virtual */
- break;
case NL80211_IFTYPE_P2P_DEVICE:
- changed = BSS_CHANGED_IDLE;
+ /* nothing to do */
break;
case NL80211_IFTYPE_UNSPECIFIED:
case NUM_NL80211_IFTYPES: