Commit 3e824ba0 authored by John Whitmore's avatar John Whitmore Committed by Greg Kroah-Hartman

staging:rtl8192u: Remove prohibited spaces - Coding Style

Simple removal of spaces prohibited by the coding standard.
Signed-off-by: default avatarJohn Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 591968b2
...@@ -1073,7 +1073,7 @@ ieee80211_association_req(struct ieee80211_network *beacon, ...@@ -1073,7 +1073,7 @@ ieee80211_association_req(struct ieee80211_network *beacon,
// CCX1 spec V1.13, A01.1 CKIP Negotiation (page23): // CCX1 spec V1.13, A01.1 CKIP Negotiation (page23):
// "The CKIP negotiation is started with the associate request from the client to the access point, // "The CKIP negotiation is started with the associate request from the client to the access point,
// containing an Aironet element with both the MIC and KP bits set." // containing an Aironet element with both the MIC and KP bits set."
osCcxAironetIE.Octet[IE_CISCO_FLAG_POSITION] |= (SUPPORT_CKIP_PK | SUPPORT_CKIP_MIC) ; osCcxAironetIE.Octet[IE_CISCO_FLAG_POSITION] |= (SUPPORT_CKIP_PK | SUPPORT_CKIP_MIC);
tag = skb_put(skb, ckip_ie_len); tag = skb_put(skb, ckip_ie_len);
*tag++ = MFIE_TYPE_AIRONET; *tag++ = MFIE_TYPE_AIRONET;
*tag++ = osCcxAironetIE.Length; *tag++ = osCcxAironetIE.Length;
...@@ -1202,7 +1202,7 @@ static void ieee80211_associate_step1(struct ieee80211_device *ieee) ...@@ -1202,7 +1202,7 @@ static void ieee80211_associate_step1(struct ieee80211_device *ieee)
if (!skb) { if (!skb) {
ieee80211_associate_abort(ieee); ieee80211_associate_abort(ieee);
} else { } else {
ieee->state = IEEE80211_ASSOCIATING_AUTHENTICATING ; ieee->state = IEEE80211_ASSOCIATING_AUTHENTICATING;
IEEE80211_DEBUG_MGMT("Sending authentication request\n"); IEEE80211_DEBUG_MGMT("Sending authentication request\n");
softmac_mgmt_xmit(skb, ieee); softmac_mgmt_xmit(skb, ieee);
//BUGON when you try to add_timer twice, using mod_timer may be better, john0709 //BUGON when you try to add_timer twice, using mod_timer may be better, john0709
...@@ -1796,7 +1796,7 @@ static void ieee80211_process_action(struct ieee80211_device *ieee, ...@@ -1796,7 +1796,7 @@ static void ieee80211_process_action(struct ieee80211_device *ieee,
return; return;
} }
tmp = *act; tmp = *act;
act ++; act++;
switch (tmp) { switch (tmp) {
case ACT_CAT_BA: case ACT_CAT_BA:
if (*act == ACT_ADDBAREQ) if (*act == ACT_ADDBAREQ)
...@@ -2115,7 +2115,7 @@ void ieee80211_wake_queue(struct ieee80211_device *ieee) ...@@ -2115,7 +2115,7 @@ void ieee80211_wake_queue(struct ieee80211_device *ieee)
struct rtl_80211_hdr_3addr *header; struct rtl_80211_hdr_3addr *header;
spin_lock_irqsave(&ieee->lock, flags); spin_lock_irqsave(&ieee->lock, flags);
if (! ieee->queue_stop) goto exit; if (!ieee->queue_stop) goto exit;
ieee->queue_stop = 0; ieee->queue_stop = 0;
...@@ -2141,7 +2141,7 @@ void ieee80211_wake_queue(struct ieee80211_device *ieee) ...@@ -2141,7 +2141,7 @@ void ieee80211_wake_queue(struct ieee80211_device *ieee)
ieee->softmac_stats.swtxawake++; ieee->softmac_stats.swtxawake++;
netif_wake_queue(ieee->dev); netif_wake_queue(ieee->dev);
} }
exit : exit:
spin_unlock_irqrestore(&ieee->lock, flags); spin_unlock_irqrestore(&ieee->lock, flags);
} }
EXPORT_SYMBOL(ieee80211_wake_queue); EXPORT_SYMBOL(ieee80211_wake_queue);
...@@ -2315,7 +2315,7 @@ void ieee80211_start_bss(struct ieee80211_device *ieee) ...@@ -2315,7 +2315,7 @@ void ieee80211_start_bss(struct ieee80211_device *ieee)
// STA shall not start a BSS unless properly formed Beacon frame including a Country IE. // STA shall not start a BSS unless properly formed Beacon frame including a Country IE.
// //
if (IS_DOT11D_ENABLE(ieee) && !IS_COUNTRY_IE_VALID(ieee)) { if (IS_DOT11D_ENABLE(ieee) && !IS_COUNTRY_IE_VALID(ieee)) {
if (! ieee->bGlobalDomain) if (!ieee->bGlobalDomain)
return; return;
} }
/* check if we have already found the net we /* check if we have already found the net we
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment