commit | fe31a9a8fff325bfddbf06fc3e9edaf480824bee | [log] [tgz] |
---|---|---|
author | Dmitry Shmidt <dimitrysh@google.com> | Wed Nov 09 13:43:31 2016 -0800 |
committer | Dmitry Shmidt <dimitrysh@google.com> | Wed Nov 09 13:43:31 2016 -0800 |
tree | c01b593cafd2be0791365995d50baf84c6ea1591 | |
parent | c15e6e519159228b25956b5005ccdc15043e5121 [diff] [blame] |
Revert "Cumulative patch from commit 4ec1fd8e42bad9390f14a58225b6e5f6fb691950" This reverts commit 78a5dac804c22aa6e4ec8226a864d3b0d6ccddbb. Test: None
diff --git a/src/ap/rrm.c b/src/ap/rrm.c index 5ca87c0..3569f95 100644 --- a/src/ap/rrm.c +++ b/src/ap/rrm.c
@@ -129,12 +129,12 @@ struct os_time curr, diff; unsigned long diff_l; - if (nr->stationary || max_age == 0xffff) - return 1; - if (!max_age) return 0; + if (max_age == 0xffff) + return 1; + if (os_get_time(&curr)) return 0;