diff options
author | Ana Rey <anarey@gmail.com> | 2014-03-16 20:44:32 +0100 |
---|---|---|
committer | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | 2014-03-16 21:57:23 -0700 |
commit | 8c98b99983d8a715d1979f6479b6e98c63455c73 (patch) | |
tree | ddfcb3ed1b939cc1e4aff147815aef1a07537817 /drivers/staging/rtl8187se | |
parent | e1aff4ee7d458bce0b2b878b685459348957a8ec (diff) |
staging: rtl8187se: Delete space prohibited between function name and open parenthesis
Delete space prohibited between function name and open parenthesis and
fix coding style in the lines changed when It is necessary
Fix checkpatch.pl warning message:
WARNING: space prohibited between function name and open parenthesis '('.
Signed-off-by: Ana Rey <anarey@gmail.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Diffstat (limited to 'drivers/staging/rtl8187se')
-rw-r--r-- | drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c index 67d1137e90c2..f79008206e6b 100644 --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c @@ -683,9 +683,9 @@ static struct sk_buff *ieee80211_probe_resp(struct ieee80211_device *ieee, beacon_buf = (struct ieee80211_probe_response*) skb_put(skb, beacon_size); - memcpy (beacon_buf->header.addr1, dest,ETH_ALEN); - memcpy (beacon_buf->header.addr2, ieee->dev->dev_addr, ETH_ALEN); - memcpy (beacon_buf->header.addr3, ieee->current_network.bssid, ETH_ALEN); + memcpy(beacon_buf->header.addr1, dest,ETH_ALEN); + memcpy(beacon_buf->header.addr2, ieee->dev->dev_addr, ETH_ALEN); + memcpy(beacon_buf->header.addr3, ieee->current_network.bssid, ETH_ALEN); beacon_buf->header.duration_id = 0; /* FIXME */ beacon_buf->beacon_interval = @@ -1308,14 +1308,14 @@ static short probe_rq_parse(struct ieee80211_device *ieee, struct sk_buff *skb, struct ieee80211_hdr_3addr *header = (struct ieee80211_hdr_3addr *) skb->data; - if (skb->len < sizeof (struct ieee80211_hdr_3addr )) + if (skb->len < sizeof(struct ieee80211_hdr_3addr)) return -1; /* corrupted */ memcpy(src,header->addr2, ETH_ALEN); skbend = (u8*)skb->data + skb->len; - tag = skb->data + sizeof (struct ieee80211_hdr_3addr ); + tag = skb->data + sizeof(struct ieee80211_hdr_3addr); while (tag+1 < skbend) { if (*tag == 0) { |