Changeset 24411


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

mac80211: fix compile errors when LED support in the kernel is disabled

Location:
trunk/package/mac80211/patches
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/510-ath9k_led_cleanup.patch

    r24235 r24411  
    287287  
    288288 /* 
    289 @@ -750,6 +764,10 @@ int ath9k_init_device(u16 devid, struct  
     289@@ -750,6 +764,12 @@ int ath9k_init_device(u16 devid, struct  
    290290  
    291291        ath9k_init_txpower_limits(sc); 
    292292  
     293+#ifdef CONFIG_MAC80211_LEDS 
    293294+       /* must be initialized before ieee80211_register_hw */ 
    294295+       sc->led_cdev.default_trigger = ieee80211_create_tpt_led_trigger(sc->hw, 
    295296+               ath9k_tpt_blink, ARRAY_SIZE(ath9k_tpt_blink)); 
     297+#endif 
    296298+ 
    297299        /* Register with mac80211 */ 
Note: See TracChangeset for help on using the changeset viewer.