]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_htc: properly set MAC address and BSSID mask
authorMathy Vanhoef <vanhoefm@gmail.com>
Thu, 28 Nov 2013 11:21:45 +0000 (12:21 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Dec 2013 18:58:24 +0000 (13:58 -0500)
commit21e33d52ed6a60389187bb82a630510643bff059
treef4c986602af7eb158b9987ab25bcc1cfbd3c1ff4
parentdcb4db09ddccc7d284663f295cba78d1944d09c1
ath9k_htc: properly set MAC address and BSSID mask

Pick the MAC address of the first virtual interface as the new hardware MAC
address. Set BSSID mask according to this MAC address. This fixes CVE-2013-4579.

Signed-off-by: Mathy Vanhoef <vanhoefm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_main.c
drivers/net/wireless/ath/ath9k/main.c