diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-03-31 17:02:02 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-04-06 11:18:13 (GMT) |
commit | d63b548fffdbd239a5e65bb89424be19229048ba (patch) | |
tree | 3eadfac40d14bce86fda257748d8124d63aaa804 /drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | |
parent | e596af827960c41a6051d4e719bafcfb7da11b64 (diff) | |
download | linux-d63b548fffdbd239a5e65bb89424be19229048ba.tar.xz |
mac80211: allow passing transmitter station on RX
Sometimes drivers already looked up, or know out-of-band
from their device, which station transmitted a given RX
frame. Allow them to pass the station pointer to mac80211
to save the extra lookup.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c index 9a54f2d..38e7fa9 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c @@ -210,7 +210,7 @@ static void iwl_mvm_pass_packet_to_mac80211(struct iwl_mvm *mvm, if (iwl_mvm_check_pn(mvm, skb, queue, sta)) kfree_skb(skb); else - ieee80211_rx_napi(mvm->hw, skb, napi); + ieee80211_rx_napi(mvm->hw, NULL, skb, napi); } static void iwl_mvm_get_signal_strength(struct iwl_mvm *mvm, |