From: Pierre Vandwalle Date: Wed, 25 Mar 2015 15:50:26 +0000 (-0700) Subject: adjust gscan and wifi_logger headers X-Git-Tag: android-x86-6.0-r1~18^2~9 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=37eb61d1a89ae1578bf5d89c8f4c7811018e376e;hp=29b934833a69240116f4c29f00c9e69a9bb410a6;p=android-x86%2Fhardware-libhardware_legacy.git adjust gscan and wifi_logger headers Change-Id: I43105fe14b1a5511045998ea1cbf4e275a6faf36 --- 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";