diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-03-17 14:41:37 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-04-05 21:34:21 +0200 |
commit | b100e5d622aa8719cc2e776c397817afe24b1f3b (patch) | |
tree | 98c7d9e237c1bbebbfbcd2e27cd7a9748d6768a4 /net/wireless | |
parent | mac80211: fix cipher scheme function name (diff) | |
download | linux-b100e5d622aa8719cc2e776c397817afe24b1f3b.tar.xz linux-b100e5d622aa8719cc2e776c397817afe24b1f3b.zip |
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