]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: use helpers to get iwl_mvm_sta
authorSara Sharon <sara.sharon@intel.com>
Sun, 10 Apr 2016 12:51:54 +0000 (15:51 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 10 May 2016 19:34:04 +0000 (22:34 +0300)
commit88288830d0f69e5ede70772cb789cfab16228df8
tree500e217b7348e158f05a1319d9a38bbfe069de10
parent43f59dac3d0ec73622ef6e7dbafe0f98e7e75ea4
iwlwifi: mvm: use helpers to get iwl_mvm_sta

Getting the mvm station out of station id requires dereferencing
the station id to get ieee80211_sta, then checking for pointer
validity and only then extract mvm station out.
Given that there are helpers to do it - use them instead of
duplicating the code whenever we need only mvm station.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/d3.c
drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
drivers/net/wireless/intel/iwlwifi/mvm/sta.c
drivers/net/wireless/intel/iwlwifi/mvm/tt.c
drivers/net/wireless/intel/iwlwifi/mvm/tx.c