summaryrefslogtreecommitdiff
path: root/package/broadcom-wl
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-03-26 14:27:41 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-03-26 14:27:41 +0000
commitc7785c1addce7193fe43d810d25279fe08205512 (patch)
treeae7d4eceee4b6328fcc017aa56057a2ca68dd56c /package/broadcom-wl
parent1ccada4dc2266c71f7662d211c173e30d39a6c71 (diff)
downloadmtk-20170518-c7785c1addce7193fe43d810d25279fe08205512.zip
mtk-20170518-c7785c1addce7193fe43d810d25279fe08205512.tar.gz
mtk-20170518-c7785c1addce7193fe43d810d25279fe08205512.tar.bz2
package/broadcom-wl: refresh patches
SVN-Revision: 20454
Diffstat (limited to 'package/broadcom-wl')
-rw-r--r--package/broadcom-wl/patches/100-timer_fix.patch16
1 files changed, 7 insertions, 9 deletions
diff --git a/package/broadcom-wl/patches/100-timer_fix.patch b/package/broadcom-wl/patches/100-timer_fix.patch
index c3d9f63..d1ce9c9 100644
--- a/package/broadcom-wl/patches/100-timer_fix.patch
+++ b/package/broadcom-wl/patches/100-timer_fix.patch
@@ -1,8 +1,6 @@
-Index: broadcom-wl-4.150.10.5.2/router/shared/linux_timer.c
-===================================================================
---- broadcom-wl-4.150.10.5.2.orig/router/shared/linux_timer.c 2008-04-07 00:15:24.914329846 +0200
-+++ broadcom-wl-4.150.10.5.2/router/shared/linux_timer.c 2008-04-07 00:14:52.288470602 +0200
-@@ -94,6 +94,7 @@
+--- a/router/shared/linux_timer.c
++++ b/router/shared/linux_timer.c
+@@ -94,6 +94,7 @@ typedef long uclock_t;
#define TFLAG_NONE 0
#define TFLAG_CANCELLED (1<<0)
#define TFLAG_DELETED (1<<1)
@@ -10,7 +8,7 @@ Index: broadcom-wl-4.150.10.5.2/router/shared/linux_timer.c
struct event {
struct timeval it_interval;
-@@ -207,6 +208,7 @@
+@@ -207,6 +208,7 @@ int timer_create(
event_freelist = event->next;
event->next = NULL;
@@ -18,7 +16,7 @@ Index: broadcom-wl-4.150.10.5.2/router/shared/linux_timer.c
check_event_queue();
-@@ -387,6 +389,7 @@
+@@ -387,6 +389,7 @@ int timer_settime
}
event->flags &= ~TFLAG_CANCELLED;
@@ -26,7 +24,7 @@ Index: broadcom-wl-4.150.10.5.2/router/shared/linux_timer.c
unblock_timer();
-@@ -502,7 +505,15 @@
+@@ -502,7 +505,15 @@ static void alarm_handler(int i)
(*(event->func))((timer_t) event, (int)event->arg);
/* If the event has been cancelled, do NOT put it back on the queue. */
@@ -43,7 +41,7 @@ Index: broadcom-wl-4.150.10.5.2/router/shared/linux_timer.c
/* if the event is a recurring event, reset the timer and
* find its correct place in the sorted list of events.
-@@ -545,6 +556,7 @@
+@@ -545,6 +556,7 @@ static void alarm_handler(int i)
/* link our new event into the pending event queue. */
event->next = *ppevent;
*ppevent = event;