diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 8db86239bd6a..62b6939df52e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -2839,14 +2839,18 @@ void iwl_config_ap(struct iwl_priv *priv) | |||
2839 | } | 2839 | } |
2840 | 2840 | ||
2841 | static void iwl_mac_update_tkip_key(struct ieee80211_hw *hw, | 2841 | static void iwl_mac_update_tkip_key(struct ieee80211_hw *hw, |
2842 | struct ieee80211_key_conf *keyconf, const u8 *addr, | 2842 | struct ieee80211_vif *vif, |
2843 | u32 iv32, u16 *phase1key) | 2843 | struct ieee80211_key_conf *keyconf, |
2844 | struct ieee80211_sta *sta, | ||
2845 | u32 iv32, u16 *phase1key) | ||
2844 | { | 2846 | { |
2845 | 2847 | ||
2846 | struct iwl_priv *priv = hw->priv; | 2848 | struct iwl_priv *priv = hw->priv; |
2847 | IWL_DEBUG_MAC80211(priv, "enter\n"); | 2849 | IWL_DEBUG_MAC80211(priv, "enter\n"); |
2848 | 2850 | ||
2849 | iwl_update_tkip_key(priv, keyconf, addr, iv32, phase1key); | 2851 | iwl_update_tkip_key(priv, keyconf, |
2852 | sta ? sta->addr : iwl_bcast_addr, | ||
2853 | iv32, phase1key); | ||
2850 | 2854 | ||
2851 | IWL_DEBUG_MAC80211(priv, "leave\n"); | 2855 | IWL_DEBUG_MAC80211(priv, "leave\n"); |
2852 | } | 2856 | } |