atmel: remove time_t usage
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 23 Feb 2017 16:14:45 +0000 (17:14 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 20 Mar 2017 16:43:17 +0000 (18:43 +0200)
last_qual never really holds a time. It only holds jiffies. Make it the
same type as jiffies.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/atmel/atmel.c

index e12f623..27b110d 100644 (file)
@@ -513,7 +513,7 @@ struct atmel_private {
        } station_state;
 
        int operating_mode, power_mode;
-       time_t last_qual;
+       unsigned long last_qual;
        int beacons_this_sec;
        int channel;
        int reg_domain, config_reg_domain;