aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-04-17 19:03:39 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-05-07 15:02:11 -0400
commit079a253383c711d388adce527b57bd09297ee83c (patch)
treea888343154015d9fa40c6471768cd281e191289a /drivers/net
parenta693f187facbf25925bbcf201db88c5384468646 (diff)
iwlwifi: export int iwl4965_set_pwr_src
This handler is universal for most of the HW 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')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c2
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index 890dfa44c1e9..2b9471f16862 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -492,7 +492,7 @@ int iwl4965_hw_rxq_stop(struct iwl_priv *priv)
492 return 0; 492 return 0;
493} 493}
494 494
495static int iwl4965_set_pwr_src(struct iwl_priv *priv, enum iwl_pwr_src src) 495int iwl4965_set_pwr_src(struct iwl_priv *priv, enum iwl_pwr_src src)
496{ 496{
497 int ret; 497 int ret;
498 unsigned long flags; 498 unsigned long flags;
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h
index ca2ce27ee7f5..78381f287de8 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.h
@@ -674,6 +674,8 @@ extern unsigned int iwl4965_fill_beacon_frame(struct iwl_priv *priv,
674extern int iwl4965_rx_queue_update_write_ptr(struct iwl_priv *priv, 674extern int iwl4965_rx_queue_update_write_ptr(struct iwl_priv *priv,
675 struct iwl4965_rx_queue *q); 675 struct iwl4965_rx_queue *q);
676extern __le16 *ieee80211_get_qos_ctrl(struct ieee80211_hdr *hdr); 676extern __le16 *ieee80211_get_qos_ctrl(struct ieee80211_hdr *hdr);
677int iwl4965_set_pwr_src(struct iwl_priv *priv, enum iwl_pwr_src src);
678
677int iwl4965_init_geos(struct iwl_priv *priv); 679int iwl4965_init_geos(struct iwl_priv *priv);
678void iwl4965_free_geos(struct iwl_priv *priv); 680void iwl4965_free_geos(struct iwl_priv *priv);
679 681