summaryrefslogtreecommitdiff
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
authorMichael Braun <michael-dev@fami-braun.de>2016-10-10 19:12:20 +0200
committerJohannes Berg <johannes.berg@intel.com>2016-10-12 11:11:08 +0200
commit5f9994bd4a58f72a4312fb3e09c7fe2c4ca95b82 (patch)
tree1817e2f2909c923a43e4b8ea267f679a17b227ad /net/mac80211/iface.c
parent246ad56e25b4005648cd54e0f0ab8f0357f8a42a (diff)
mac80211: remove unnecessary num_mcast_sta check
Checking for num_mcast_sta in __ieee80211_request_smps_ap() is unnecessary as sta list will be empty in this case anyway, so the list iteration will just exit immediately. Since this isn't a "hot" code path, it doesn't really matter, and the next patch will redefine num_mcast_sta to make this check invalid. Signed-off-by: Michael Braun <michael-dev@fami-braun.de> [change commit message] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/iface.c')
0 files changed, 0 insertions, 0 deletions