diff options
author | Samuel Ortiz <samuel.ortiz@intel.com> | 2009-01-23 16:45:20 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:01:37 -0500 |
commit | 17f841cd6cb0837ba0599ad18a746c30ddd83e08 (patch) | |
tree | c5964754f04fdc97deeff14b8c9d7ccabb2ea233 /drivers/net/wireless/iwlwifi/iwl-sta.c | |
parent | af48d048ac5f10981df093c7566ae0fea9ba1967 (diff) |
iwl3945: Remaining host command cleanups
With the recent host command routines merge, we can now look at the various
host command helpers and get rid of the duplicated ones.
Signed-off-by: Samuel Ortiz <samuel.ortiz@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/iwl-sta.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-sta.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c index 0cbb4495c062..9bba98e5e056 100644 --- a/drivers/net/wireless/iwlwifi/iwl-sta.c +++ b/drivers/net/wireless/iwlwifi/iwl-sta.c | |||
@@ -86,7 +86,8 @@ static void iwl_sta_ucode_activate(struct iwl_priv *priv, u8 sta_id) | |||
86 | 86 | ||
87 | spin_lock_irqsave(&priv->sta_lock, flags); | 87 | spin_lock_irqsave(&priv->sta_lock, flags); |
88 | 88 | ||
89 | if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE)) | 89 | if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE) && |
90 | !(priv->stations_39[sta_id].used & IWL_STA_DRIVER_ACTIVE)) | ||
90 | IWL_ERR(priv, "ACTIVATE a non DRIVER active station %d\n", | 91 | IWL_ERR(priv, "ACTIVATE a non DRIVER active station %d\n", |
91 | sta_id); | 92 | sta_id); |
92 | 93 | ||
@@ -131,7 +132,7 @@ static int iwl_add_sta_callback(struct iwl_priv *priv, | |||
131 | return 1; | 132 | return 1; |
132 | } | 133 | } |
133 | 134 | ||
134 | static int iwl_send_add_sta(struct iwl_priv *priv, | 135 | int iwl_send_add_sta(struct iwl_priv *priv, |
135 | struct iwl_addsta_cmd *sta, u8 flags) | 136 | struct iwl_addsta_cmd *sta, u8 flags) |
136 | { | 137 | { |
137 | struct iwl_rx_packet *res = NULL; | 138 | struct iwl_rx_packet *res = NULL; |
@@ -179,6 +180,7 @@ static int iwl_send_add_sta(struct iwl_priv *priv, | |||
179 | 180 | ||
180 | return ret; | 181 | return ret; |
181 | } | 182 | } |
183 | EXPORT_SYMBOL(iwl_send_add_sta); | ||
182 | 184 | ||
183 | static void iwl_set_ht_add_station(struct iwl_priv *priv, u8 index, | 185 | static void iwl_set_ht_add_station(struct iwl_priv *priv, u8 index, |
184 | struct ieee80211_sta_ht_cap *sta_ht_inf) | 186 | struct ieee80211_sta_ht_cap *sta_ht_inf) |