diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-04-16 19:34:48 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-05-07 15:02:10 -0400 |
commit | 947b13a7ccd31d8adbf41f466d6a1c770461596a (patch) | |
tree | 1cbb139f37aefdf6d1120ff2a15b1c657c918dfc /drivers/net/wireless/iwlwifi/iwl4965-base.c | |
parent | f0832f137c21d130998a0f97f97ac01a2d97210b (diff) |
iwlwifi: move find station to iwl-sta.c
This patch move iwl_find_station into iwl-sta.c file
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 8a68ff4323de..c8cbf70600da 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -2076,7 +2076,7 @@ static int iwl4965_get_sta_id(struct iwl_priv *priv, | |||
2076 | 2076 | ||
2077 | /* If we are an AP, then find the station, or use BCAST */ | 2077 | /* If we are an AP, then find the station, or use BCAST */ |
2078 | case IEEE80211_IF_TYPE_AP: | 2078 | case IEEE80211_IF_TYPE_AP: |
2079 | sta_id = iwl4965_hw_find_station(priv, hdr->addr1); | 2079 | sta_id = iwl_find_station(priv, hdr->addr1); |
2080 | if (sta_id != IWL_INVALID_STATION) | 2080 | if (sta_id != IWL_INVALID_STATION) |
2081 | return sta_id; | 2081 | return sta_id; |
2082 | return priv->hw_params.bcast_sta_id; | 2082 | return priv->hw_params.bcast_sta_id; |
@@ -2084,7 +2084,7 @@ static int iwl4965_get_sta_id(struct iwl_priv *priv, | |||
2084 | /* If this frame is going out to an IBSS network, find the station, | 2084 | /* If this frame is going out to an IBSS network, find the station, |
2085 | * or create a new station table entry */ | 2085 | * or create a new station table entry */ |
2086 | case IEEE80211_IF_TYPE_IBSS: | 2086 | case IEEE80211_IF_TYPE_IBSS: |
2087 | sta_id = iwl4965_hw_find_station(priv, hdr->addr1); | 2087 | sta_id = iwl_find_station(priv, hdr->addr1); |
2088 | if (sta_id != IWL_INVALID_STATION) | 2088 | if (sta_id != IWL_INVALID_STATION) |
2089 | return sta_id; | 2089 | return sta_id; |
2090 | 2090 | ||
@@ -2778,7 +2778,7 @@ static inline int iwl4965_get_ra_sta_id(struct iwl_priv *priv, | |||
2778 | return IWL_AP_ID; | 2778 | return IWL_AP_ID; |
2779 | else { | 2779 | else { |
2780 | u8 *da = ieee80211_get_DA(hdr); | 2780 | u8 *da = ieee80211_get_DA(hdr); |
2781 | return iwl4965_hw_find_station(priv, da); | 2781 | return iwl_find_station(priv, da); |
2782 | } | 2782 | } |
2783 | } | 2783 | } |
2784 | 2784 | ||
@@ -6768,7 +6768,7 @@ static void iwl4965_mac_update_tkip_key(struct ieee80211_hw *hw, | |||
6768 | 6768 | ||
6769 | IWL_DEBUG_MAC80211("enter\n"); | 6769 | IWL_DEBUG_MAC80211("enter\n"); |
6770 | 6770 | ||
6771 | sta_id = iwl4965_hw_find_station(priv, addr); | 6771 | sta_id = iwl_find_station(priv, addr); |
6772 | if (sta_id == IWL_INVALID_STATION) { | 6772 | if (sta_id == IWL_INVALID_STATION) { |
6773 | IWL_DEBUG_MAC80211("leave - %s not in station map.\n", | 6773 | IWL_DEBUG_MAC80211("leave - %s not in station map.\n", |
6774 | print_mac(mac, addr)); | 6774 | print_mac(mac, addr)); |
@@ -6824,7 +6824,7 @@ static int iwl4965_mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, | |||
6824 | /* only support pairwise keys */ | 6824 | /* only support pairwise keys */ |
6825 | return -EOPNOTSUPP; | 6825 | return -EOPNOTSUPP; |
6826 | 6826 | ||
6827 | sta_id = iwl4965_hw_find_station(priv, addr); | 6827 | sta_id = iwl_find_station(priv, addr); |
6828 | if (sta_id == IWL_INVALID_STATION) { | 6828 | if (sta_id == IWL_INVALID_STATION) { |
6829 | IWL_DEBUG_MAC80211("leave - %s not in station map.\n", | 6829 | IWL_DEBUG_MAC80211("leave - %s not in station map.\n", |
6830 | print_mac(mac, addr)); | 6830 | print_mac(mac, addr)); |