Staging: fix assorted typos all over the place
[safe/jmp/linux-2.6] / drivers / staging / rtl8187se / r8185b_init.c
index b88648a..bdb66d8 100644 (file)
@@ -26,8 +26,6 @@ Notes:
 #include "r8180_93cx6.h"   /* Card EEPROM */
 #include "r8180_wx.h"
 
-#include "r8180_pm.h"
-
 #include "ieee80211/dot11d.h"
 
 
@@ -2495,8 +2493,8 @@ void rtl8185b_adapter_start(struct net_device *dev)
        PhyConfig8185(dev);
 
        // We assume RegWirelessMode has already been initialized before,
-       // however, we has to validate the wireless mode here and provide a reasonble
-       // initialized value if necessary. 2005.01.13, by rcnjko.
+       // however, we has to validate the wireless mode here and provide a
+       // reasonable initialized value if necessary. 2005.01.13, by rcnjko.
        SupportedWirelessMode = GetSupportedWirelessMode8185(dev);
        if(     (ieee->mode != WIRELESS_MODE_B) &&
                (ieee->mode != WIRELESS_MODE_G) &&
@@ -2548,7 +2546,6 @@ void rtl8185b_adapter_start(struct net_device *dev)
                InitWirelessMode = ieee->mode;
        }
 //by amy for power save
-#ifdef ENABLE_IPS
 //     printk("initialize ENABLE_IPS\n");
        priv->eRFPowerState = eRfOff;
        priv->RfOffReason = 0;
@@ -2573,7 +2570,6 @@ void rtl8185b_adapter_start(struct net_device *dev)
        //      printk("rf off cost jiffies:%lx\n", (tmp2-tmp)*1000/HZ);
 
        }
-#endif
 //     IPSEnter(dev);
 //by amy for power save
 #ifdef TODO