diff options
author | Dilek Uzulmez | 2015-03-06 15:18:31 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-03-16 15:52:42 +0100 |
commit | 8236589b7c1d78068661dd9e0e052f8897b45d41 (patch) | |
tree | ed4f3280916db0e8fc7bca74dd245d40b48be9ae /drivers/staging/rtl8192u/ieee80211 | |
parent | Staging: rtl8192u: Added #include <linux/uaccess.h> instead of <asm/uaccess.h> (diff) | |
download | kernel-qcow2-linux-8236589b7c1d78068661dd9e0e052f8897b45d41.tar.gz kernel-qcow2-linux-8236589b7c1d78068661dd9e0e052f8897b45d41.tar.xz kernel-qcow2-linux-8236589b7c1d78068661dd9e0e052f8897b45d41.zip |
Staging: rtl8192u: Fix do not use // c99 comments.
This patch fixes checkpatch.pl issues with "do not use // C99 comments" errors in ieee80211_rx.c
Signed-off-by: Dilek Uzulmez <dilekuzulmez@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/ieee80211')
-rw-r--r-- | drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c index dc1aa3f71a8f..0a90450a295d 100644 --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c @@ -221,8 +221,8 @@ ieee80211_rx_frame_mgmt(struct ieee80211_device *ieee, struct sk_buff *skb, rx_stats->len = skb->len; ieee80211_rx_mgt(ieee,(struct ieee80211_hdr_4addr *)skb->data,rx_stats); - //if ((ieee->state == IEEE80211_LINKED) && (memcmp(hdr->addr3, ieee->current_network.bssid, ETH_ALEN))) - if ((memcmp(hdr->addr1, ieee->dev->dev_addr, ETH_ALEN)))//use ADDR1 to perform address matching for Management frames + /* if ((ieee->state == IEEE80211_LINKED) && (memcmp(hdr->addr3, ieee->current_network.bssid, ETH_ALEN))) */ + if ((memcmp(hdr->addr1, ieee->dev->dev_addr, ETH_ALEN)))/* use ADDR1 to perform address matching for Management frames */ { dev_kfree_skb_any(skb); return 0; |