aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-05-04 22:22:44 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-05-14 16:29:46 -0400
commit27aaba0ca099461badb496bf7cde5ab5cdc89b98 (patch)
treec68ae0c689fd5632548aee68005ce6bd0975ac63 /drivers
parent1053d35f4ed6876ad9d3a14cdae363db0a7e9b0a (diff)
iwlwifi: compile iwl-sta into iwlcore
This patch moves iwl-sta into iwl-core. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/iwlwifi/Makefile4
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-sta.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/Makefile b/drivers/net/wireless/iwlwifi/Makefile
index 85c8bf62d595..5c73eede7193 100644
--- a/drivers/net/wireless/iwlwifi/Makefile
+++ b/drivers/net/wireless/iwlwifi/Makefile
@@ -1,6 +1,6 @@
1obj-$(CONFIG_IWLCORE) += iwlcore.o 1obj-$(CONFIG_IWLCORE) += iwlcore.o
2iwlcore-objs := iwl-core.o iwl-eeprom.o iwl-hcmd.o iwl-power.o 2iwlcore-objs := iwl-core.o iwl-eeprom.o iwl-hcmd.o iwl-power.o
3iwlcore-objs += iwl-rx.o iwl-tx.o 3iwlcore-objs += iwl-rx.o iwl-tx.o iwl-sta.o
4iwlcore-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o 4iwlcore-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o
5iwlcore-$(CONFIG_IWLWIFI_LEDS) += iwl-led.o 5iwlcore-$(CONFIG_IWLWIFI_LEDS) += iwl-led.o
6iwlcore-$(CONFIG_IWLWIFI_RFKILL) += iwl-rfkill.o 6iwlcore-$(CONFIG_IWLWIFI_RFKILL) += iwl-rfkill.o
@@ -11,7 +11,7 @@ iwl3945-objs := iwl3945-base.o iwl-3945.o iwl-3945-rs.o
11iwl3945-$(CONFIG_IWL3945_LEDS) += iwl-3945-led.o 11iwl3945-$(CONFIG_IWL3945_LEDS) += iwl-3945-led.o
12 12
13obj-$(CONFIG_IWL4965) += iwl4965.o 13obj-$(CONFIG_IWL4965) += iwl4965.o
14iwl4965-objs := iwl4965-base.o iwl-4965.o iwl-4965-rs.o iwl-sta.o 14iwl4965-objs := iwl4965-base.o iwl-4965.o iwl-4965-rs.o
15 15
16ifeq ($(CONFIG_IWL5000),y) 16ifeq ($(CONFIG_IWL5000),y)
17 iwl4965-objs += iwl-5000.o 17 iwl4965-objs += iwl-5000.o
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c
index 34f54244ed27..f2267047d102 100644
--- a/drivers/net/wireless/iwlwifi/iwl-sta.c
+++ b/drivers/net/wireless/iwlwifi/iwl-sta.c
@@ -170,6 +170,7 @@ int iwl_send_static_wepkey_cmd(struct iwl_priv *priv, u8 send_if_empty)
170 else 170 else
171 return 0; 171 return 0;
172} 172}
173EXPORT_SYMBOL(iwl_send_static_wepkey_cmd);
173 174
174int iwl_remove_default_wep_key(struct iwl_priv *priv, 175int iwl_remove_default_wep_key(struct iwl_priv *priv,
175 struct ieee80211_key_conf *keyconf) 176 struct ieee80211_key_conf *keyconf)
@@ -190,6 +191,7 @@ int iwl_remove_default_wep_key(struct iwl_priv *priv,
190 191
191 return ret; 192 return ret;
192} 193}
194EXPORT_SYMBOL(iwl_remove_default_wep_key);
193 195
194int iwl_set_default_wep_key(struct iwl_priv *priv, 196int iwl_set_default_wep_key(struct iwl_priv *priv,
195 struct ieee80211_key_conf *keyconf) 197 struct ieee80211_key_conf *keyconf)
@@ -217,6 +219,7 @@ int iwl_set_default_wep_key(struct iwl_priv *priv,
217 219
218 return ret; 220 return ret;
219} 221}
222EXPORT_SYMBOL(iwl_set_default_wep_key);
220 223
221static int iwl_set_wep_dynamic_key_info(struct iwl_priv *priv, 224static int iwl_set_wep_dynamic_key_info(struct iwl_priv *priv,
222 struct ieee80211_key_conf *keyconf, 225 struct ieee80211_key_conf *keyconf,
@@ -391,6 +394,7 @@ int iwl_remove_dynamic_key(struct iwl_priv *priv,
391 spin_unlock_irqrestore(&priv->sta_lock, flags); 394 spin_unlock_irqrestore(&priv->sta_lock, flags);
392 return ret; 395 return ret;
393} 396}
397EXPORT_SYMBOL(iwl_remove_dynamic_key);
394 398
395int iwl_set_dynamic_key(struct iwl_priv *priv, 399int iwl_set_dynamic_key(struct iwl_priv *priv,
396 struct ieee80211_key_conf *key, u8 sta_id) 400 struct ieee80211_key_conf *key, u8 sta_id)
@@ -416,6 +420,7 @@ int iwl_set_dynamic_key(struct iwl_priv *priv,
416 420
417 return ret; 421 return ret;
418} 422}
423EXPORT_SYMBOL(iwl_set_dynamic_key);
419 424
420#ifdef CONFIG_IWLWIFI_DEBUG 425#ifdef CONFIG_IWLWIFI_DEBUG
421static void iwl_dump_lq_cmd(struct iwl_priv *priv, 426static void iwl_dump_lq_cmd(struct iwl_priv *priv,