summaryrefslogtreecommitdiff
path: root/packages/wlan-ng/wlan-ng-modules-0.2.3/prism2sta_commsqual_defer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/wlan-ng/wlan-ng-modules-0.2.3/prism2sta_commsqual_defer.patch')
-rw-r--r--packages/wlan-ng/wlan-ng-modules-0.2.3/prism2sta_commsqual_defer.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/wlan-ng/wlan-ng-modules-0.2.3/prism2sta_commsqual_defer.patch b/packages/wlan-ng/wlan-ng-modules-0.2.3/prism2sta_commsqual_defer.patch
new file mode 100644
index 0000000000..65e34a326b
--- /dev/null
+++ b/packages/wlan-ng/wlan-ng-modules-0.2.3/prism2sta_commsqual_defer.patch
@@ -0,0 +1,17 @@
+Index: linux-wlan-ng-0.2.3/src/prism2/driver/prism2sta.c
+===================================================================
+--- linux-wlan-ng-0.2.3.orig/src/prism2/driver/prism2sta.c 2005-10-07 23:32:44.000000000 +0200
++++ linux-wlan-ng-0.2.3/src/prism2/driver/prism2sta.c 2006-02-21 09:02:21.338239744 +0100
+@@ -2427,11 +2427,7 @@
+ hfa384x2host_16(hw->qual.ANL_currFC));
+
+ /* Reschedule timer */
+- //if (!hw->timer_running) {
+- hw->commsqual_timer.expires = jiffies + HZ;
+- add_timer(&hw->commsqual_timer);
+- hw->timer_running = 1;
+- //}
++ mod_timer(&hw->commsqual_timer, jiffies + HZ);
+
+ done:
+ DBFEXIT;