drivers: staging: rtl8192u: Fix "space required after that ','" errors
Fix checkpatch.pl "space required after that ','" errors Signed-off-by: Greg Donald <gdonald@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
edeafb9796
commit
e60b653834
|
@ -1177,7 +1177,7 @@ inline struct sk_buff *ieee80211_association_req(struct ieee80211_network *beaco
|
||||||
tag = skb_put(skb, ht_cap_len);
|
tag = skb_put(skb, ht_cap_len);
|
||||||
*tag++ = MFIE_TYPE_HT_CAP;
|
*tag++ = MFIE_TYPE_HT_CAP;
|
||||||
*tag++ = ht_cap_len - 2;
|
*tag++ = ht_cap_len - 2;
|
||||||
memcpy(tag, ht_cap_buf,ht_cap_len -2);
|
memcpy(tag, ht_cap_buf, ht_cap_len - 2);
|
||||||
tag += ht_cap_len -2;
|
tag += ht_cap_len -2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1214,7 +1214,7 @@ inline struct sk_buff *ieee80211_association_req(struct ieee80211_network *beaco
|
||||||
tag = skb_put(skb, realtek_ie_len);
|
tag = skb_put(skb, realtek_ie_len);
|
||||||
*tag++ = MFIE_TYPE_GENERIC;
|
*tag++ = MFIE_TYPE_GENERIC;
|
||||||
*tag++ = realtek_ie_len - 2;
|
*tag++ = realtek_ie_len - 2;
|
||||||
memcpy(tag, realtek_ie_buf,realtek_ie_len -2 );
|
memcpy(tag, realtek_ie_buf, realtek_ie_len - 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// printk("<=====%s(), %p, %p\n", __func__, ieee->dev, ieee->dev->dev_addr);
|
// printk("<=====%s(), %p, %p\n", __func__, ieee->dev, ieee->dev->dev_addr);
|
||||||
|
|
|
@ -391,7 +391,7 @@ int ieee80211_wx_set_essid(struct ieee80211_device *ieee,
|
||||||
union iwreq_data *wrqu, char *extra)
|
union iwreq_data *wrqu, char *extra)
|
||||||
{
|
{
|
||||||
|
|
||||||
int ret=0,len;
|
int ret = 0, len;
|
||||||
short proto_started;
|
short proto_started;
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
||||||
|
|
|
@ -956,7 +956,7 @@ void HTOnAssocRsp(struct ieee80211_device *ieee)
|
||||||
// HTDebugHTCapability(pHTInfo->PeerHTCapBuf,"HTOnAssocRsp_wq");
|
// HTDebugHTCapability(pHTInfo->PeerHTCapBuf,"HTOnAssocRsp_wq");
|
||||||
// HTDebugHTInfo(pHTInfo->PeerHTInfoBuf,"HTOnAssocRsp_wq");
|
// HTDebugHTInfo(pHTInfo->PeerHTInfoBuf,"HTOnAssocRsp_wq");
|
||||||
//
|
//
|
||||||
if(!memcmp(pHTInfo->PeerHTCapBuf,EWC11NHTCap, sizeof(EWC11NHTCap)))
|
if (!memcmp(pHTInfo->PeerHTCapBuf, EWC11NHTCap, sizeof(EWC11NHTCap)))
|
||||||
pPeerHTCap = (PHT_CAPABILITY_ELE)(&pHTInfo->PeerHTCapBuf[4]);
|
pPeerHTCap = (PHT_CAPABILITY_ELE)(&pHTInfo->PeerHTCapBuf[4]);
|
||||||
else
|
else
|
||||||
pPeerHTCap = (PHT_CAPABILITY_ELE)(pHTInfo->PeerHTCapBuf);
|
pPeerHTCap = (PHT_CAPABILITY_ELE)(pHTInfo->PeerHTCapBuf);
|
||||||
|
|
|
@ -66,7 +66,7 @@ static bool fw_download_code(struct net_device *dev, u8 *code_virtual_address,
|
||||||
skb = dev_alloc_skb(USB_HWDESC_HEADER_LEN + frag_length + 4);
|
skb = dev_alloc_skb(USB_HWDESC_HEADER_LEN + frag_length + 4);
|
||||||
if (!skb)
|
if (!skb)
|
||||||
return false;
|
return false;
|
||||||
memcpy((unsigned char *)(skb->cb),&dev,sizeof(dev));
|
memcpy((unsigned char *)(skb->cb), &dev, sizeof(dev));
|
||||||
tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE);
|
tcb_desc = (cb_desc *)(skb->cb + MAX_DEV_ADDR_SIZE);
|
||||||
tcb_desc->queue_index = TXCMD_QUEUE;
|
tcb_desc->queue_index = TXCMD_QUEUE;
|
||||||
tcb_desc->bCmdOrInit = DESC_PACKET_TYPE_INIT;
|
tcb_desc->bCmdOrInit = DESC_PACKET_TYPE_INIT;
|
||||||
|
|
Loading…
Reference in New Issue