diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/sta.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/sta.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/sta.h b/drivers/net/wireless/iwlwifi/mvm/sta.h index 4dfc359a4bdd..b34941148a98 100644 --- a/drivers/net/wireless/iwlwifi/mvm/sta.h +++ b/drivers/net/wireless/iwlwifi/mvm/sta.h | |||
@@ -298,6 +298,12 @@ struct iwl_mvm_sta { | |||
298 | bool tt_tx_protection; | 298 | bool tt_tx_protection; |
299 | }; | 299 | }; |
300 | 300 | ||
301 | static inline struct iwl_mvm_sta * | ||
302 | iwl_mvm_sta_from_mac80211(struct ieee80211_sta *sta) | ||
303 | { | ||
304 | return (void *)sta->drv_priv; | ||
305 | } | ||
306 | |||
301 | /** | 307 | /** |
302 | * struct iwl_mvm_int_sta - representation of an internal station (auxiliary or | 308 | * struct iwl_mvm_int_sta - representation of an internal station (auxiliary or |
303 | * broadcast) | 309 | * broadcast) |