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: https://git.stricted.de/?a=commitdiff_plain;h=b307108165cf98f70238900593719b15d7dd4075;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 &&