Staging: fix assorted typos all over the place
[safe/jmp/linux-2.6] / drivers / staging / rtl8192e / r8190_rtl8256.c
index da628c5..3d67fbb 100644 (file)
@@ -418,7 +418,7 @@ void PHY_SetRF8256OFDMTxPower(struct net_device* dev, u8 powerlevel)
 }
 
 #define MAX_DOZE_WAITING_TIMES_9x 64
-bool
+static bool
 SetRFPowerState8190(
        struct net_device* dev,
        RT_RF_POWER_STATE       eRFPowerState
@@ -629,7 +629,7 @@ SetRFPowerState8190(
 
                        default:
                                        bResult = false;
-                                       RT_TRACE(COMP_ERR, "SetRFPowerState8190(): unknow state to set: 0x%X!!!\n", eRFPowerState);
+                                       RT_TRACE(COMP_ERR, "SetRFPowerState8190(): unknown state to set: 0x%X!!!\n", eRFPowerState);
                                        break;
                }
 
@@ -717,7 +717,7 @@ SetRFPowerState8190(
 //
 //     050823, by rcnjko.
 //
-bool
+static bool
 SetRFPowerState(
        struct net_device* dev,
        RT_RF_POWER_STATE       eRFPowerState
@@ -745,7 +745,7 @@ SetRFPowerState(
        return bResult;
 }
 
-void
+static void
 MgntDisconnectIBSS(
        struct net_device* dev
 )
@@ -823,7 +823,7 @@ MgntDisconnectIBSS(
 
 }
 
-void
+static void
 MlmeDisassociateRequest(
        struct net_device* dev,
        u8*             asSta,
@@ -837,7 +837,7 @@ MlmeDisassociateRequest(
 
        SendDisassociation( priv->ieee80211, asSta, asRsn );
 
-       if(memcpy(priv->ieee80211->current_network.bssid,asSta,6) == 0)
+       if(memcpy(priv->ieee80211->current_network.bssid,asSta,6) == NULL)
        {
                //ShuChen TODO: change media status.
                //ShuChen TODO: What to do when disassociate.
@@ -891,7 +891,7 @@ MlmeDisassociateRequest(
 }
 
 
-void
+static void
 MgntDisconnectAP(
        struct net_device* dev,
        u8 asRsn
@@ -945,7 +945,7 @@ MgntDisconnectAP(
 }
 
 
-bool
+static bool
 MgntDisconnect(
        struct net_device* dev,
        u8 asRsn