diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-03-31 20:02:02 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-04-06 13:18:13 +0200 |
commit | d63b548fffdbd239a5e65bb89424be19229048ba (patch) | |
tree | 3eadfac40d14bce86fda257748d8124d63aaa804 /drivers/net/wireless/intel/iwlwifi/mvm/rx.c | |
parent | e596af827960c41a6051d4e719bafcfb7da11b64 (diff) | |
download | talos-obmc-linux-d63b548fffdbd239a5e65bb89424be19229048ba.tar.gz talos-obmc-linux-d63b548fffdbd239a5e65bb89424be19229048ba.zip |
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/rx.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rx.c b/drivers/net/wireless/intel/iwlwifi/mvm/rx.c index 485cfc1a4daa..d8cadf2fe098 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/rx.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/rx.c @@ -131,7 +131,7 @@ static void iwl_mvm_pass_packet_to_mac80211(struct iwl_mvm *mvm, fraglen, rxb->truesize); } - ieee80211_rx_napi(mvm->hw, skb, napi); + ieee80211_rx_napi(mvm->hw, NULL, skb, napi); } /* |