Changeset 20113


Ignore:
Timestamp:
2010-03-10T02:09:12+01:00 (7 years ago)
Author:
nbd
Message:

mac80211: fix compile for 2.6.33 (thx, acoul)

Location:
trunk/package/mac80211/patches
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/403-ath9k-fix-invalid-mac-address-handling.patch

    r19501 r20113  
    99  
    1010 #include "hw.h" 
    11 @@ -441,8 +442,18 @@ static int ath9k_hw_init_macaddr(struct  
     11@@ -441,8 +442,16 @@ static int ath9k_hw_init_macaddr(struct  
    1212                common->macaddr[2 * i] = eeval >> 8; 
    1313                common->macaddr[2 * i + 1] = eeval & 0xff; 
     
    1616-               return -EADDRNOTAVAIL; 
    1717+       if (!is_valid_ether_addr(common->macaddr)) { 
    18 +               DECLARE_MAC_BUF(macbuf); 
    19 + 
    2018+               ath_print(common, ATH_DBG_EEPROM, 
    21 +                       "eeprom contains invalid mac address: %s\n", 
    22 +                       print_mac(macbuf, common->macaddr)); 
     19+                       "eeprom contains invalid mac address: %pM\n", 
     20+                       common->macaddr); 
    2321+ 
    2422+               random_ether_addr(common->macaddr); 
    2523+               ath_print(common, ATH_DBG_EEPROM, 
    26 +                       "random mac address will be used: %s\n", 
    27 +                       print_mac(macbuf, common->macaddr)); 
     24+                       "random mac address will be used: %pM\n", 
     25+                       common->macaddr); 
    2826+       } 
    2927  
  • trunk/package/mac80211/patches/407-ath9k-override-mac-address-from-platform-data.patch

    r19501 r20113  
    4040+ 
    4141        if (!is_valid_ether_addr(common->macaddr)) { 
    42                 DECLARE_MAC_BUF(macbuf); 
    43   
     42                ath_print(common, ATH_DBG_EEPROM, 
     43                        "eeprom contains invalid mac address: %pM\n", 
    4444--- a/include/linux/ath9k_platform.h 
    4545+++ b/include/linux/ath9k_platform.h 
  • trunk/package/mac80211/patches/408-ath9k_tweak_rx_intr_mitigation.patch

    r20032 r20113  
    11--- a/drivers/net/wireless/ath/ath9k/hw.c 
    22+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    3 @@ -2113,7 +2113,7 @@ int ath9k_hw_reset(struct ath_hw *ah, st 
     3@@ -2111,7 +2111,7 @@ int ath9k_hw_reset(struct ath_hw *ah, st 
    44  
    55        if (ah->config.rx_intr_mitigation) { 
Note: See TracChangeset for help on using the changeset viewer.