aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2200.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ipw2200.c')
-rw-r--r--drivers/net/wireless/ipw2200.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index 587a0918fa52..e82e56bb85e1 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -6938,8 +6938,8 @@ static int ipw_qos_association(struct ipw_priv *priv,
6938} 6938}
6939 6939
6940/* 6940/*
6941* handling the beaconing responces. if we get different QoS setting 6941* handling the beaconing responses. if we get different QoS setting
6942* of the network from the the associated setting adjust the QoS 6942* off the network from the associated setting, adjust the QoS
6943* setting 6943* setting
6944*/ 6944*/
6945static int ipw_qos_association_resp(struct ipw_priv *priv, 6945static int ipw_qos_association_resp(struct ipw_priv *priv,
@@ -11746,12 +11746,18 @@ static int ipw_pci_resume(struct pci_dev *pdev)
11746{ 11746{
11747 struct ipw_priv *priv = pci_get_drvdata(pdev); 11747 struct ipw_priv *priv = pci_get_drvdata(pdev);
11748 struct net_device *dev = priv->net_dev; 11748 struct net_device *dev = priv->net_dev;
11749 int err;
11749 u32 val; 11750 u32 val;
11750 11751
11751 printk(KERN_INFO "%s: Coming out of suspend...\n", dev->name); 11752 printk(KERN_INFO "%s: Coming out of suspend...\n", dev->name);
11752 11753
11753 pci_set_power_state(pdev, PCI_D0); 11754 pci_set_power_state(pdev, PCI_D0);
11754 pci_enable_device(pdev); 11755 err = pci_enable_device(pdev);
11756 if (err) {
11757 printk(KERN_ERR "%s: pci_enable_device failed on resume\n",
11758 dev->name);
11759 return err;
11760 }
11755 pci_restore_state(pdev); 11761 pci_restore_state(pdev);
11756 11762
11757 /* 11763 /*