Message ID | 20170223161445.19200-1-alexandre.belloni@free-electrons.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 5c5105666de5ac1eef6c3b0710b88d5536b7f6dd |
Delegated to: | Kalle Valo |
Headers | show |
Alexandre Belloni <alexandre.belloni@free-electrons.com> wrote: > 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> The title should start with "atmel:", I can fix that during commit.
Hi, On 08/03/2017 at 15:13:40 +0000, Kalle Valo wrote: > Alexandre Belloni <alexandre.belloni@free-electrons.com> wrote: > > 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> > > The title should start with "atmel:", I can fix that during commit. > If you prefer, I can send a v2
Alexandre Belloni <alexandre.belloni@free-electrons.com> writes: > Hi, > > On 08/03/2017 at 15:13:40 +0000, Kalle Valo wrote: >> Alexandre Belloni <alexandre.belloni@free-electrons.com> wrote: >> > 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> >> >> The title should start with "atmel:", I can fix that during commit. >> > > If you prefer, I can send a v2 Thanks, but no need. I can easily edit the commit log when I commit it.
Alexandre Belloni <alexandre.belloni@free-electrons.com> wrote: > 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> Patch applied to wireless-drivers-next.git, thanks. 5c5105666de5 atmel: remove time_t usage
diff --git a/drivers/net/wireless/atmel/atmel.c b/drivers/net/wireless/atmel/atmel.c index e12f62356fd1..27b110dc8cc6 100644 --- a/drivers/net/wireless/atmel/atmel.c +++ b/drivers/net/wireless/atmel/atmel.c @@ -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;
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> --- drivers/net/wireless/atmel/atmel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)