Commit 0636b460 authored by Max Perepelitsyn's avatar Max Perepelitsyn Committed by Greg Kroah-Hartman

staging: rtl8712: remove spaces before commas

checkpatch.pl fix for
ERROR: space prohibited before that ',' (ctx:WxE)
Signed-off-by: default avatarMax Perepelitsyn <mperepelitsyn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 31f1c464
...@@ -109,16 +109,16 @@ enum rtl8712_h2c_cmd { ...@@ -109,16 +109,16 @@ enum rtl8712_h2c_cmd {
GEN_CMD_CODE(_DisconnectCtrlEx), /*61*/ GEN_CMD_CODE(_DisconnectCtrlEx), /*61*/
/* To do, modify these h2c cmd, add or delete */ /* To do, modify these h2c cmd, add or delete */
GEN_CMD_CODE(_GetH2cLbk) , GEN_CMD_CODE(_GetH2cLbk),
/* WPS extra IE */ /* WPS extra IE */
GEN_CMD_CODE(_SetProbeReqExtraIE) , GEN_CMD_CODE(_SetProbeReqExtraIE),
GEN_CMD_CODE(_SetAssocReqExtraIE) , GEN_CMD_CODE(_SetAssocReqExtraIE),
GEN_CMD_CODE(_SetProbeRspExtraIE) , GEN_CMD_CODE(_SetProbeRspExtraIE),
GEN_CMD_CODE(_SetAssocRspExtraIE) , GEN_CMD_CODE(_SetAssocRspExtraIE),
/* the following is driver will do */ /* the following is driver will do */
GEN_CMD_CODE(_GetCurDataRate) , GEN_CMD_CODE(_GetCurDataRate),
GEN_CMD_CODE(_GetTxRetrycnt), /* to record times that Tx retry to GEN_CMD_CODE(_GetTxRetrycnt), /* to record times that Tx retry to
* transmit packet after association * transmit packet after association
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#define _RTL8712_EVENT_H_ #define _RTL8712_EVENT_H_
void r8712_event_handle(struct _adapter *padapter, uint *peventbuf); void r8712_event_handle(struct _adapter *padapter, uint *peventbuf);
void r8712_got_addbareq_event_callback(struct _adapter *adapter , u8 *pbuf); void r8712_got_addbareq_event_callback(struct _adapter *adapter, u8 *pbuf);
enum rtl8712_c2h_event { enum rtl8712_c2h_event {
GEN_EVT_CODE(_Read_MACREG) = 0, /*0*/ GEN_EVT_CODE(_Read_MACREG) = 0, /*0*/
......
...@@ -196,7 +196,7 @@ static inline char *translate_scan(struct _adapter *padapter, ...@@ -196,7 +196,7 @@ static inline char *translate_scan(struct _adapter *padapter,
if (p && ht_ielen > 0) { if (p && ht_ielen > 0) {
ht_cap = true; ht_cap = true;
pht_capie = (struct ieee80211_ht_cap *)(p + 2); pht_capie = (struct ieee80211_ht_cap *)(p + 2);
memcpy(&mcs_rate , pht_capie->supp_mcs_set, 2); memcpy(&mcs_rate, pht_capie->supp_mcs_set, 2);
} }
/* Add the protocol name */ /* Add the protocol name */
iwe.cmd = SIOCGIWNAME; iwe.cmd = SIOCGIWNAME;
...@@ -1436,7 +1436,7 @@ static int r8711_wx_get_rate(struct net_device *dev, ...@@ -1436,7 +1436,7 @@ static int r8711_wx_get_rate(struct net_device *dev,
if (p && ht_ielen > 0) { if (p && ht_ielen > 0) {
ht_cap = true; ht_cap = true;
pht_capie = (struct ieee80211_ht_cap *)(p + 2); pht_capie = (struct ieee80211_ht_cap *)(p + 2);
memcpy(&mcs_rate , pht_capie->supp_mcs_set, 2); memcpy(&mcs_rate, pht_capie->supp_mcs_set, 2);
bw_40MHz = (pht_capie->cap_info & bw_40MHz = (pht_capie->cap_info &
IEEE80211_HT_CAP_SUP_WIDTH) ? 1 : 0; IEEE80211_HT_CAP_SUP_WIDTH) ? 1 : 0;
short_GI = (pht_capie->cap_info & short_GI = (pht_capie->cap_info &
......
...@@ -93,7 +93,7 @@ struct wlan_network *_r8712_alloc_network(struct mlme_priv *pmlmepriv) ...@@ -93,7 +93,7 @@ struct wlan_network *_r8712_alloc_network(struct mlme_priv *pmlmepriv)
return NULL; return NULL;
spin_lock_irqsave(&free_queue->lock, irqL); spin_lock_irqsave(&free_queue->lock, irqL);
plist = free_queue->queue.next; plist = free_queue->queue.next;
pnetwork = LIST_CONTAINOR(plist , struct wlan_network, list); pnetwork = LIST_CONTAINOR(plist, struct wlan_network, list);
list_del_init(&pnetwork->list); list_del_init(&pnetwork->list);
pnetwork->last_scanned = jiffies; pnetwork->last_scanned = jiffies;
pmlmepriv->num_of_scanned++; pmlmepriv->num_of_scanned++;
...@@ -499,7 +499,7 @@ static int is_desired_network(struct _adapter *adapter, ...@@ -499,7 +499,7 @@ static int is_desired_network(struct _adapter *adapter,
} }
/* TODO: Perry : For Power Management */ /* TODO: Perry : For Power Management */
void r8712_atimdone_event_callback(struct _adapter *adapter , u8 *pbuf) void r8712_atimdone_event_callback(struct _adapter *adapter, u8 *pbuf)
{ {
} }
......
...@@ -33,17 +33,17 @@ ...@@ -33,17 +33,17 @@
#define CMD_ALIVE BIT(2) #define CMD_ALIVE BIT(2)
enum Power_Mgnt { enum Power_Mgnt {
PS_MODE_ACTIVE = 0 , PS_MODE_ACTIVE = 0,
PS_MODE_MIN , PS_MODE_MIN,
PS_MODE_MAX , PS_MODE_MAX,
PS_MODE_DTIM , PS_MODE_DTIM,
PS_MODE_VOIP , PS_MODE_VOIP,
PS_MODE_UAPSD_WMM , PS_MODE_UAPSD_WMM,
PS_MODE_UAPSD , PS_MODE_UAPSD,
PS_MODE_IBSS , PS_MODE_IBSS,
PS_MODE_WWLAN , PS_MODE_WWLAN,
PM_Radio_Off , PM_Radio_Off,
PM_Card_Disable , PM_Card_Disable,
PS_MODE_NUM PS_MODE_NUM
}; };
......
...@@ -227,7 +227,7 @@ void r8712_free_all_stainfo(struct _adapter *padapter) ...@@ -227,7 +227,7 @@ void r8712_free_all_stainfo(struct _adapter *padapter)
struct sta_info, hash_list); struct sta_info, hash_list);
plist = plist->next; plist = plist->next;
if (pbcmc_stainfo != psta) if (pbcmc_stainfo != psta)
r8712_free_stainfo(padapter , psta); r8712_free_stainfo(padapter, psta);
} }
} }
spin_unlock_irqrestore(&pstapriv->sta_hash_lock, irqL); spin_unlock_irqrestore(&pstapriv->sta_hash_lock, irqL);
......
...@@ -471,7 +471,7 @@ static sint xmitframe_swencrypt(struct _adapter *padapter, ...@@ -471,7 +471,7 @@ static sint xmitframe_swencrypt(struct _adapter *padapter,
return _SUCCESS; return _SUCCESS;
} }
static sint make_wlanhdr(struct _adapter *padapter , u8 *hdr, static sint make_wlanhdr(struct _adapter *padapter, u8 *hdr,
struct pkt_attrib *pattrib) struct pkt_attrib *pattrib)
{ {
u16 *qc; u16 *qc;
......
...@@ -135,7 +135,7 @@ u32 _r8712_init_sta_priv(struct sta_priv *pstapriv); ...@@ -135,7 +135,7 @@ u32 _r8712_init_sta_priv(struct sta_priv *pstapriv);
u32 _r8712_free_sta_priv(struct sta_priv *pstapriv); u32 _r8712_free_sta_priv(struct sta_priv *pstapriv);
struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv, struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv,
u8 *hwaddr); u8 *hwaddr);
void r8712_free_stainfo(struct _adapter *padapter , struct sta_info *psta); void r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta);
void r8712_free_all_stainfo(struct _adapter *padapter); void r8712_free_all_stainfo(struct _adapter *padapter);
struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr); struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
void r8712_init_bcmc_stainfo(struct _adapter *padapter); void r8712_init_bcmc_stainfo(struct _adapter *padapter);
......
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