Simple variable rename
Test: built, flashed, booted
Change-Id: I2ec4477141db4a1643b634b62112655d5caff346
diff --git a/server/WakeupController.cpp b/server/WakeupController.cpp
index b3eae7e..9e1e43b 100644
--- a/server/WakeupController.cpp
+++ b/server/WakeupController.cpp
@@ -54,10 +54,10 @@
const Slice payload) {
switch (attr.nla_type) {
case NFULA_TIMESTAMP: {
- timespec timespec = {};
- extract(payload, timespec);
+ timespec ts = {};
+ extract(payload, ts);
constexpr uint64_t kNsPerS = 1000000000ULL;
- timestampNs = be32toh(timespec.tv_nsec) + (be32toh(timespec.tv_sec) * kNsPerS);
+ timestampNs = be32toh(ts.tv_nsec) + (be32toh(ts.tv_sec) * kNsPerS);
break;
}
case NFULA_PREFIX: