commit | b100e5d622aa8719cc2e776c397817afe24b1f3b | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Mar 17 15:41:37 2016 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Tue Apr 05 21:34:21 2016 +0200 |
tree | 98c7d9e237c1bbebbfbcd2e27cd7a9748d6768a4 | |
parent | 2c61cf9c56cbc4e0a4475232659ac30bb4c28674 [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>