diff options
author | Zhao, Gang <gamerh2o@gmail.com> | 2014-04-25 21:43:41 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-04-28 11:53:19 -0400 |
commit | b205786e38b156d1ccaccd4f4ee780345a69cfeb (patch) | |
tree | 22d33682760cc667e5e9efcba493624e513d9179 /net/mac80211 | |
parent | 7df180f7f19355ba3017f6d6d74c2008b66db43d (diff) |
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.c | 5 |
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) | |||
1671 | } | 1671 | } |
1672 | break; | 1672 | break; |
1673 | case NL80211_IFTYPE_WDS: | 1673 | case NL80211_IFTYPE_WDS: |
1674 | break; | ||
1675 | case NL80211_IFTYPE_AP_VLAN: | 1674 | case NL80211_IFTYPE_AP_VLAN: |
1676 | case NL80211_IFTYPE_MONITOR: | 1675 | case NL80211_IFTYPE_MONITOR: |
1677 | /* ignore virtual */ | ||
1678 | break; | ||
1679 | case NL80211_IFTYPE_P2P_DEVICE: | 1676 | case NL80211_IFTYPE_P2P_DEVICE: |
1680 | changed = BSS_CHANGED_IDLE; | 1677 | /* nothing to do */ |
1681 | break; | 1678 | break; |
1682 | case NL80211_IFTYPE_UNSPECIFIED: | 1679 | case NL80211_IFTYPE_UNSPECIFIED: |
1683 | case NUM_NL80211_IFTYPES: | 1680 | case NUM_NL80211_IFTYPES: |