aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2006-02-16 19:25:12 -0500
committerJohn W. Linville <linville@tuxdriver.com>2006-03-17 15:08:03 -0500
commite8c69e27d14a5fb15df9967f8c8ec5978af33ba8 (patch)
treed428648e976c8844ff68a1328204af14ebb9d20a
parentd6d5b5c13e5003c9d33dcdcfdf1febc6efd7d319 (diff)
[PATCH] ipw2200: Fix ipw_sw_reset() implementation inconsistent with comment
Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ipw2200.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index b80ebd37483e..e9804450ca6c 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -8064,7 +8064,7 @@ static int ipw_sw_reset(struct ipw_priv *priv, int option)
8064 8064
8065 if ((priv->pci_dev->device == 0x4223) || 8065 if ((priv->pci_dev->device == 0x4223) ||
8066 (priv->pci_dev->device == 0x4224)) { 8066 (priv->pci_dev->device == 0x4224)) {
8067 if (option == 2) 8067 if (option == 1)
8068 printk(KERN_INFO DRV_NAME 8068 printk(KERN_INFO DRV_NAME
8069 ": Detected Intel PRO/Wireless 2915ABG Network " 8069 ": Detected Intel PRO/Wireless 2915ABG Network "
8070 "Connection\n"); 8070 "Connection\n");
@@ -8075,7 +8075,7 @@ static int ipw_sw_reset(struct ipw_priv *priv, int option)
8075 priv->adapter = IPW_2915ABG; 8075 priv->adapter = IPW_2915ABG;
8076 priv->ieee->mode = IEEE_A | IEEE_G | IEEE_B; 8076 priv->ieee->mode = IEEE_A | IEEE_G | IEEE_B;
8077 } else { 8077 } else {
8078 if (option == 2) 8078 if (option == 1)
8079 printk(KERN_INFO DRV_NAME 8079 printk(KERN_INFO DRV_NAME
8080 ": Detected Intel PRO/Wireless 2200BG Network " 8080 ": Detected Intel PRO/Wireless 2200BG Network "
8081 "Connection\n"); 8081 "Connection\n");