From: Jes Sorensen Date: Fri, 9 May 2014 13:03:32 +0000 (+0200) Subject: staging: rtl8723au: update_recvframe_phyinfo(): Don't set variables twice X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b307108165cf98f70238900593719b15d7dd4075;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8723au: update_recvframe_phyinfo(): Don't set variables twice Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/hal/rtl8723au_recv.c b/drivers/staging/rtl8723au/hal/rtl8723au_recv.c index 1b5b83619c89..6857e5e7dfeb 100644 --- a/drivers/staging/rtl8723au/hal/rtl8723au_recv.c +++ b/drivers/staging/rtl8723au/hal/rtl8723au_recv.c @@ -203,10 +203,6 @@ void update_recvframe_phyinfo(struct recv_frame *precvframe, struct ieee80211_hdr *hdr = (struct ieee80211_hdr *) skb->data; u8 *wlanhdr = skb->data; - pkt_info.bPacketMatchBSSID = false; - pkt_info.bPacketToSelf = false; - pkt_info.bPacketBeacon = false; - pkt_info.bPacketMatchBSSID = (!ieee80211_is_ctl(hdr->frame_control) && !pattrib->icv_err &&