mac80211: make it work with 3.18.12+
[openwrt/openwrt.git] / target / linux / ramips / patches-3.18 / 0063-cevt-rt3352.patch
1 --- a/arch/mips/ralink/cevt-rt3352.c
2 +++ b/arch/mips/ralink/cevt-rt3352.c
3 @@ -54,7 +54,7 @@
4 sdev = container_of(evt, struct systick_device, dev);
5 count = ioread32(sdev->membase + SYSTICK_COUNT);
6 count = (count + delta) % SYSTICK_FREQ;
7 - iowrite32(count + delta, sdev->membase + SYSTICK_COMPARE);
8 + iowrite32(count, sdev->membase + SYSTICK_COMPARE);
9
10 return 0;
11 }