staging: rtl8192u: Adding space around '='
authorsimran singhal <singhalsimran0@gmail.com>
Thu, 26 Jan 2017 21:31:34 +0000 (03:01 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jan 2017 08:40:56 +0000 (09:40 +0100)
This patch fixes the checkpatch issue by adding space around '='.

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c

index 84a960c8d27347fb4b47d15dce2820c17808e8f3..b32ae6e848f33700197660ae81bac213a18f4957 100644 (file)
@@ -2869,7 +2869,7 @@ static int ieee80211_wpa_set_auth_algs(struct ieee80211_device *ieee, int value)
 
 static int ieee80211_wpa_set_param(struct ieee80211_device *ieee, u8 name, u32 value)
 {
-       int ret=0;
+       int ret = 0;
        unsigned long flags;
 
        switch (name) {
@@ -2878,7 +2878,7 @@ static int ieee80211_wpa_set_param(struct ieee80211_device *ieee, u8 name, u32 v
                break;
 
        case IEEE_PARAM_TKIP_COUNTERMEASURES:
-               ieee->tkip_countermeasures=value;
+               ieee->tkip_countermeasures = value;
                break;
 
        case IEEE_PARAM_DROP_UNENCRYPTED: {
@@ -2915,7 +2915,7 @@ static int ieee80211_wpa_set_param(struct ieee80211_device *ieee, u8 name, u32 v
        }
 
        case IEEE_PARAM_PRIVACY_INVOKED:
-               ieee->privacy_invoked=value;
+               ieee->privacy_invoked = value;
                break;
 
        case IEEE_PARAM_AUTH_ALGS:
@@ -2923,7 +2923,7 @@ static int ieee80211_wpa_set_param(struct ieee80211_device *ieee, u8 name, u32 v
                break;
 
        case IEEE_PARAM_IEEE_802_1X:
-               ieee->ieee802_1x=value;
+               ieee->ieee802_1x = value;
                break;
        case IEEE_PARAM_WPAX_SELECT:
                // added for WPA2 mixed mode