diff options
author | Abhijeet Kolekar <abhijeet.kolekar@intel.com> | 2009-04-08 14:26:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:54:43 -0400 |
commit | 60690a6a38cc03142a0c5aaed64cf043e707457d (patch) | |
tree | bfb2a7ce9e4db46849011959eff825616d65b7d8 /drivers/net/wireless/iwlwifi/iwl3945-base.c | |
parent | 4808368dad3263ac46e71f037c0dcd2dcf082525 (diff) |
iwlwifi: add config_ap lib op
add config_ap lib op to iwlwifi and iwl3945 in preparation
of future 3945 porting actions.
Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@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/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index c5644a5e50c9..ad6f5ebeaf7a 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -3378,7 +3378,7 @@ static int iwl3945_mac_tx(struct ieee80211_hw *hw, struct sk_buff *skb) | |||
3378 | return NETDEV_TX_OK; | 3378 | return NETDEV_TX_OK; |
3379 | } | 3379 | } |
3380 | 3380 | ||
3381 | static void iwl3945_config_ap(struct iwl_priv *priv) | 3381 | void iwl3945_config_ap(struct iwl_priv *priv) |
3382 | { | 3382 | { |
3383 | int rc = 0; | 3383 | int rc = 0; |
3384 | 3384 | ||
@@ -3515,7 +3515,7 @@ static int iwl3945_mac_config_interface(struct ieee80211_hw *hw, | |||
3515 | memcpy(priv->bssid, conf->bssid, ETH_ALEN); | 3515 | memcpy(priv->bssid, conf->bssid, ETH_ALEN); |
3516 | 3516 | ||
3517 | if (priv->iw_mode == NL80211_IFTYPE_AP) | 3517 | if (priv->iw_mode == NL80211_IFTYPE_AP) |
3518 | iwl3945_config_ap(priv); | 3518 | iwlcore_config_ap(priv); |
3519 | else { | 3519 | else { |
3520 | rc = iwlcore_commit_rxon(priv); | 3520 | rc = iwlcore_commit_rxon(priv); |
3521 | if ((priv->iw_mode == NL80211_IFTYPE_STATION) && rc) | 3521 | if ((priv->iw_mode == NL80211_IFTYPE_STATION) && rc) |