Skip to content

Commit

Permalink
staging: rtl8192u: Adding space around '='
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
simran singhal authored and Greg Kroah-Hartman committed Jan 27, 2017
1 parent 95134d4 commit fa687e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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: {
Expand Down Expand Up @@ -2915,15 +2915,15 @@ 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:
ret = ieee80211_wpa_set_auth_algs(ieee, value);
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
Expand Down

0 comments on commit fa687e7

Please sign in to comment.