Skip to content

Commit

Permalink
staging: rtl8187se: Delete spaces prohibited around semicolons, colon…
Browse files Browse the repository at this point in the history
…s and exclamations

Delete spaces prohibited before semicolon, before ':' and after '!' and
fix coding style in these lines when It is necessary.

Fix checkpàtch.pl error and warning messages:
WARNING: space prohibited before semicolon
ERROR: space prohibited before that ':'
ERROR: space prohibited after that '!'

Signed-off-by: Ana Rey <anarey@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
  • Loading branch information
Ana Rey authored and Peter P Waskiewicz Jr committed Mar 17, 2014
1 parent 9ce6e60 commit da0c762
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ static void ieee80211_associate_step1(struct ieee80211_device *ieee)
if (!skb) {
ieee80211_associate_abort(ieee);
} else {
ieee->state = IEEE80211_ASSOCIATING_AUTHENTICATING ;
ieee->state = IEEE80211_ASSOCIATING_AUTHENTICATING;
IEEE80211_DEBUG_MGMT("Sending authentication request\n");
softmac_mgmt_xmit(skb, ieee);
/* BUGON when you try to add_timer twice, using mod_timer may
Expand Down Expand Up @@ -1823,7 +1823,7 @@ void ieee80211_rtl_wake_queue(struct ieee80211_device *ieee)
struct ieee80211_hdr_3addr *header;

spin_lock_irqsave(&ieee->lock,flags);
if (! ieee->queue_stop) goto exit;
if (!ieee->queue_stop) goto exit;

ieee->queue_stop = 0;

Expand All @@ -1849,7 +1849,7 @@ void ieee80211_rtl_wake_queue(struct ieee80211_device *ieee)
ieee->softmac_stats.swtxawake++;
netif_wake_queue(ieee->dev);
}
exit :
exit:
spin_unlock_irqrestore(&ieee->lock,flags);
}

Expand Down

0 comments on commit da0c762

Please sign in to comment.