From b4f512b67c2ed5e8d3a8cedefb76193e3e699e1b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 8 Sep 2012 11:10:54 +0000 Subject: mac80211: update to 2012-09-07, adds ath9k beacon fixes, mesh/adhoc fixes, and more git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33331 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/patches/608-add_platform_data_mac_addr.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/mac80211/patches/608-add_platform_data_mac_addr.patch') diff --git a/package/mac80211/patches/608-add_platform_data_mac_addr.patch b/package/mac80211/patches/608-add_platform_data_mac_addr.patch index 5008180f7d..c1b22e7a25 100644 --- a/package/mac80211/patches/608-add_platform_data_mac_addr.patch +++ b/package/mac80211/patches/608-add_platform_data_mac_addr.patch @@ -41,7 +41,7 @@ * Interrupt context handlers. --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c -@@ -2393,6 +2393,7 @@ static int rt61pci_validate_eeprom(struc +@@ -2392,6 +2392,7 @@ static int rt61pci_validate_eeprom(struc u32 reg; u16 word; u8 *mac; @@ -49,7 +49,7 @@ s8 value; rt2x00pci_register_read(rt2x00dev, E2PROM_CSR, ®); -@@ -2413,7 +2414,11 @@ static int rt61pci_validate_eeprom(struc +@@ -2412,7 +2413,11 @@ static int rt61pci_validate_eeprom(struc /* * Start validation of the data that has been read. */ @@ -59,5 +59,5 @@ + memcpy(mac, pdata_mac, 6); + if (!is_valid_ether_addr(mac)) { - random_ether_addr(mac); + eth_random_addr(mac); EEPROM(rt2x00dev, "MAC: %pM\n", mac); -- cgit v1.2.3