summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2016-03-17 15:41:37 +0200
committerJohannes Berg <johannes.berg@intel.com>2016-04-05 21:34:21 +0200
commitb100e5d622aa8719cc2e776c397817afe24b1f3b (patch)
tree98c7d9e237c1bbebbfbcd2e27cd7a9748d6768a4 /net/wireless
parent2c61cf9c56cbc4e0a4475232659ac30bb4c28674 (diff)
mac80211: avoid useless memory write on each frame RX
In the likely case that probe_count is 0, don't write to the memory there. Also use ifmgd consistently in the function, instead of using sdata->u.mgd as well. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions