aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2x00/ipw2200.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ipw2x00/ipw2200.c')
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2200.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c
index 482f505f3f35..844f201b7b70 100644
--- a/drivers/net/wireless/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/ipw2x00/ipw2200.c
@@ -6812,7 +6812,6 @@ static int ipw_wx_get_auth(struct net_device *dev,
6812 struct libipw_device *ieee = priv->ieee; 6812 struct libipw_device *ieee = priv->ieee;
6813 struct lib80211_crypt_data *crypt; 6813 struct lib80211_crypt_data *crypt;
6814 struct iw_param *param = &wrqu->param; 6814 struct iw_param *param = &wrqu->param;
6815 int ret = 0;
6816 6815
6817 switch (param->flags & IW_AUTH_INDEX) { 6816 switch (param->flags & IW_AUTH_INDEX) {
6818 case IW_AUTH_WPA_VERSION: 6817 case IW_AUTH_WPA_VERSION:
@@ -6822,8 +6821,7 @@ static int ipw_wx_get_auth(struct net_device *dev,
6822 /* 6821 /*
6823 * wpa_supplicant will control these internally 6822 * wpa_supplicant will control these internally
6824 */ 6823 */
6825 ret = -EOPNOTSUPP; 6824 return -EOPNOTSUPP;
6826 break;
6827 6825
6828 case IW_AUTH_TKIP_COUNTERMEASURES: 6826 case IW_AUTH_TKIP_COUNTERMEASURES:
6829 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; 6827 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx];
@@ -10774,7 +10772,7 @@ static void ipw_bg_link_down(struct work_struct *work)
10774 mutex_unlock(&priv->mutex); 10772 mutex_unlock(&priv->mutex);
10775} 10773}
10776 10774
10777static int __devinit ipw_setup_deferred_work(struct ipw_priv *priv) 10775static int ipw_setup_deferred_work(struct ipw_priv *priv)
10778{ 10776{
10779 int ret = 0; 10777 int ret = 0;
10780 10778
@@ -11728,7 +11726,7 @@ static const struct net_device_ops ipw_netdev_ops = {
11728 .ndo_validate_addr = eth_validate_addr, 11726 .ndo_validate_addr = eth_validate_addr,
11729}; 11727};
11730 11728
11731static int __devinit ipw_pci_probe(struct pci_dev *pdev, 11729static int ipw_pci_probe(struct pci_dev *pdev,
11732 const struct pci_device_id *ent) 11730 const struct pci_device_id *ent)
11733{ 11731{
11734 int err = 0; 11732 int err = 0;
@@ -11901,7 +11899,7 @@ static int __devinit ipw_pci_probe(struct pci_dev *pdev,
11901 return err; 11899 return err;
11902} 11900}
11903 11901
11904static void __devexit ipw_pci_remove(struct pci_dev *pdev) 11902static void ipw_pci_remove(struct pci_dev *pdev)
11905{ 11903{
11906 struct ipw_priv *priv = pci_get_drvdata(pdev); 11904 struct ipw_priv *priv = pci_get_drvdata(pdev);
11907 struct list_head *p, *q; 11905 struct list_head *p, *q;
@@ -12063,7 +12061,7 @@ static struct pci_driver ipw_driver = {
12063 .name = DRV_NAME, 12061 .name = DRV_NAME,
12064 .id_table = card_ids, 12062 .id_table = card_ids,
12065 .probe = ipw_pci_probe, 12063 .probe = ipw_pci_probe,
12066 .remove = __devexit_p(ipw_pci_remove), 12064 .remove = ipw_pci_remove,
12067#ifdef CONFIG_PM 12065#ifdef CONFIG_PM
12068 .suspend = ipw_pci_suspend, 12066 .suspend = ipw_pci_suspend,
12069 .resume = ipw_pci_resume, 12067 .resume = ipw_pci_resume,