mac80211: fill some important capabilities into ht_capab in the hostapd config
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 407-ath5k_compat_fix.patch
1 --- a/drivers/net/wireless/ath/ath5k/base.c
2 +++ b/drivers/net/wireless/ath/ath5k/base.c
3 @@ -238,7 +238,7 @@ static struct pci_driver ath5k_pci_drive
4 .remove = __devexit_p(ath5k_pci_remove),
5 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
6 .driver.pm = ATH5K_PM_OPS,
7 -#else
8 +#elif defined(CONFIG_PM)
9 .suspend = ath5k_pci_suspend_compat,
10 .resume = ath5k_pci_resume_compat,
11 #endif
12 --- a/compat/patches/11-dev-pm-ops.patch
13 +++ b/compat/patches/11-dev-pm-ops.patch
14 @@ -49,7 +49,7 @@ calls on compat code with only slight mo
15 .remove = __devexit_p(ath5k_pci_remove),
16 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29))
17 .driver.pm = ATH5K_PM_OPS,
18 -+#else
19 ++#elif defined(CONFIG_PM)
20 + .suspend = ath5k_pci_suspend_compat,
21 + .resume = ath5k_pci_resume_compat,
22 +#endif