wlcore: hold jiffies in unsigned long
authorArik Nemtsov <arik@wizery.com>
Sun, 12 May 2013 09:35:30 +0000 (12:35 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 17 Jun 2013 09:14:29 +0000 (12:14 +0300)
u32 can be incorrect (too small) for some architectures.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/ps.c

index 9654577efd012e0faaa7e785fe3a4f15cc1ae5ba..98066d40c2ad107943384509abcbc10b82d82019 100644 (file)
@@ -110,7 +110,7 @@ int wl1271_ps_elp_wakeup(struct wl1271 *wl)
        DECLARE_COMPLETION_ONSTACK(compl);
        unsigned long flags;
        int ret;
-       u32 start_time = jiffies;
+       unsigned long start_time = jiffies;
        bool pending = false;
 
        /*