rtlwifi: Uses addr1 instead DA to determine broadcast and multicast addr.
authorPing-Ke Shih <pkshih@realtek.com>
Sun, 2 Jul 2017 18:12:36 +0000 (13:12 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 28 Jul 2017 15:16:37 +0000 (18:16 +0300)
commite7c528615e34a924c94d135e2f8e17bb9bf3b611
tree7bd0a303840b2b9785a9bf80158657e5cf50b1d6
parent6ec9dfbc057cefe50e3ac55bdf6bfc24f24e4a1b
rtlwifi: Uses addr1 instead DA to determine broadcast and multicast addr.

We should check addr1 to indicate a packet as broadcast or multicast
in tx desc. An obvious example, a STA transmit an *unicast* ARP packet
where addr1 and DA are the addresses of AP and broadcast respectively.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Yan-Hsuan Chuang <yhchuang@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Cc: Steven Ting <steventing@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/base.c