summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Vandwalle <vandwalle@google.com>2015-03-25 08:50:26 -0700
committerPierre Vandwalle <vandwalle@google.com>2015-03-25 08:50:26 -0700
commit37eb61d1a89ae1578bf5d89c8f4c7811018e376e (patch)
treee27ebbea453c7c9d3301f52b3f84e97c6512017b
parent29b934833a69240116f4c29f00c9e69a9bb410a6 (diff)
downloadhardware_libhardware_legacy-37eb61d1a89ae1578bf5d89c8f4c7811018e376e.zip
hardware_libhardware_legacy-37eb61d1a89ae1578bf5d89c8f4c7811018e376e.tar.gz
hardware_libhardware_legacy-37eb61d1a89ae1578bf5d89c8f4c7811018e376e.tar.bz2
adjust gscan and wifi_logger headers
Change-Id: I43105fe14b1a5511045998ea1cbf4e275a6faf36
-rw-r--r--include/hardware_legacy/gscan.h2
-rw-r--r--include/hardware_legacy/wifi_logger.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/hardware_legacy/gscan.h b/include/hardware_legacy/gscan.h
index 9dfceb1..463c4c1 100644
--- a/include/hardware_legacy/gscan.h
+++ b/include/hardware_legacy/gscan.h
@@ -20,7 +20,7 @@ const unsigned MAX_CHANNELS = 16;
const unsigned MAX_BUCKETS = 16;
const unsigned MAX_HOTLIST_APS = 128;
const unsigned MAX_SIGNIFICANT_CHANGE_APS = 64;
-const unsigned MAX_PNO_SSID = 128;
+const unsigned MAX_PNO_SSID = 64;
const unsigned MAX_HOTLIST_SSID = 8;
const unsigned MAX_BLACKLIST_BSSID = 16;
diff --git a/include/hardware_legacy/wifi_logger.h b/include/hardware_legacy/wifi_logger.h
index f5e1a3b..0f9ec0a 100644
--- a/include/hardware_legacy/wifi_logger.h
+++ b/include/hardware_legacy/wifi_logger.h
@@ -162,7 +162,7 @@ typedef struct {
typedef struct {
u16 event;
tlv_log tlvs[0];
-} wifi_power_event __attribute__((packed));
+} __attribute__((packed)) wifi_power_event;
static char power_event_ring_name[] = "wifi_power_events";