iwlwifi: mvm: provide helper to fetch the iwl_mvm_sta from sta_id
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 14 Jan 2014 06:30:32 +0000 (08:30 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 3 Feb 2014 20:23:33 +0000 (22:23 +0200)
We somtimes need to fetch the iwl_mvm_sta structure from a
station index - provide a helper to do that.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/bt-coex.c
drivers/net/wireless/iwlwifi/mvm/debugfs.c
drivers/net/wireless/iwlwifi/mvm/mvm.h