compat-wireless: make patches apply again.
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 15 Aug 2010 12:28:10 +0000 (14:28 +0200)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 16 Aug 2010 22:48:36 +0000 (15:48 -0700)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/28-pm-qos-params.patch

index cd8fecad35b67a3953c9f7090dd73320afdd97b9..e28d7a7b61ccd75a064cec417c2593b41415b95b 100644 (file)
@@ -58,8 +58,8 @@ little wierd.
        /* We have to signal any supplicant if we are disassociating */
        if (associated)
 @@ -6669,8 +6686,16 @@ static int __init ipw2100_init(void)
-       if (ret)
-               goto out;
+       printk(KERN_INFO DRV_NAME ": %s, %s\n", DRV_DESCRIPTION, DRV_VERSION);
+       printk(KERN_INFO DRV_NAME ": %s\n", DRV_COPYRIGHT);
  
 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36))
        pm_qos_add_request(&ipw2100_pm_qos_req, PM_QOS_CPU_DMA_LATENCY,
@@ -71,10 +71,10 @@ little wierd.
 +      pm_qos_add_requirement(PM_QOS_CPU_DMA_LATENCY, "ipw2100",
 +                             PM_QOS_DEFAULT_VALUE);
 +#endif
- #ifdef CONFIG_IPW2100_DEBUG
-       ipw2100_debug_level = debug;
-       ret = driver_create_file(&ipw2100_pci_driver.driver,
-@@ -6692,7 +6717,13 @@ static void __exit ipw2100_exit(void)
+       ret = pci_register_driver(&ipw2100_pci_driver);
+       if (ret)
+@@ -6697,7 +6722,13 @@ static void __exit ipw2100_exit(void)
                           &driver_attr_debug_level);
  #endif
        pci_unregister_driver(&ipw2100_pci_driver);
@@ -104,7 +104,7 @@ little wierd.
                                        found->vif.bss_conf.beacon_int);
 --- a/net/mac80211/scan.c
 +++ b/net/mac80211/scan.c
-@@ -514,7 +514,11 @@ static int ieee80211_scan_state_decision
+@@ -500,7 +500,11 @@ static int ieee80211_scan_state_decision
                bad_latency = time_after(jiffies +
                                ieee80211_scan_get_channel_time(next_chan),
                                local->leave_oper_channel_time +