Pārlūkot izejas kodu

atmel: remove time_t usage

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>
Alexandre Belloni 8 gadi atpakaļ
vecāks
revīzija
5c5105666d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      drivers/net/wireless/atmel/atmel.c

+ 1 - 1
drivers/net/wireless/atmel/atmel.c

@@ -513,7 +513,7 @@ struct atmel_private {
 	} station_state;
 	} station_state;
 
 
 	int operating_mode, power_mode;
 	int operating_mode, power_mode;
-	time_t last_qual;
+	unsigned long last_qual;
 	int beacons_this_sec;
 	int beacons_this_sec;
 	int channel;
 	int channel;
 	int reg_domain, config_reg_domain;
 	int reg_domain, config_reg_domain;