diff options
Diffstat (limited to 'drivers/net/wireless/ipw2x00/ipw2100.c')
-rw-r--r-- | drivers/net/wireless/ipw2x00/ipw2100.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.c b/drivers/net/wireless/ipw2x00/ipw2100.c index 29b8fa1adefd..d92b21a8e597 100644 --- a/drivers/net/wireless/ipw2x00/ipw2100.c +++ b/drivers/net/wireless/ipw2x00/ipw2100.c | |||
@@ -1788,10 +1788,7 @@ static int ipw2100_up(struct ipw2100_priv *priv, int deferred) | |||
1788 | } | 1788 | } |
1789 | 1789 | ||
1790 | /* Initialize the geo */ | 1790 | /* Initialize the geo */ |
1791 | if (libipw_set_geo(priv->ieee, &ipw_geos[0])) { | 1791 | libipw_set_geo(priv->ieee, &ipw_geos[0]); |
1792 | printk(KERN_WARNING DRV_NAME "Could not set geo\n"); | ||
1793 | return 0; | ||
1794 | } | ||
1795 | priv->ieee->freq_band = LIBIPW_24GHZ_BAND; | 1792 | priv->ieee->freq_band = LIBIPW_24GHZ_BAND; |
1796 | 1793 | ||
1797 | lock = LOCK_NONE; | 1794 | lock = LOCK_NONE; |
@@ -6413,7 +6410,7 @@ out: | |||
6413 | goto out; | 6410 | goto out; |
6414 | } | 6411 | } |
6415 | 6412 | ||
6416 | static void __devexit ipw2100_pci_remove_one(struct pci_dev *pci_dev) | 6413 | static void ipw2100_pci_remove_one(struct pci_dev *pci_dev) |
6417 | { | 6414 | { |
6418 | struct ipw2100_priv *priv = pci_get_drvdata(pci_dev); | 6415 | struct ipw2100_priv *priv = pci_get_drvdata(pci_dev); |
6419 | struct net_device *dev = priv->net_dev; | 6416 | struct net_device *dev = priv->net_dev; |
@@ -6609,7 +6606,7 @@ static struct pci_driver ipw2100_pci_driver = { | |||
6609 | .name = DRV_NAME, | 6606 | .name = DRV_NAME, |
6610 | .id_table = ipw2100_pci_id_table, | 6607 | .id_table = ipw2100_pci_id_table, |
6611 | .probe = ipw2100_pci_init_one, | 6608 | .probe = ipw2100_pci_init_one, |
6612 | .remove = __devexit_p(ipw2100_pci_remove_one), | 6609 | .remove = ipw2100_pci_remove_one, |
6613 | #ifdef CONFIG_PM | 6610 | #ifdef CONFIG_PM |
6614 | .suspend = ipw2100_suspend, | 6611 | .suspend = ipw2100_suspend, |
6615 | .resume = ipw2100_resume, | 6612 | .resume = ipw2100_resume, |