OSDN Git Service

adjust gscan and wifi_logger headers
authorPierre Vandwalle <vandwalle@google.com>
Wed, 25 Mar 2015 15:50:26 +0000 (08:50 -0700)
committerPierre Vandwalle <vandwalle@google.com>
Wed, 25 Mar 2015 15:50:26 +0000 (08:50 -0700)
Change-Id: I43105fe14b1a5511045998ea1cbf4e275a6faf36

include/hardware_legacy/gscan.h
include/hardware_legacy/wifi_logger.h

index 9dfceb1..463c4c1 100644 (file)
@@ -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;
 
index f5e1a3b..0f9ec0a 100644 (file)
@@ -162,7 +162,7 @@ typedef struct {
 typedef struct {\r
     u16 event;\r
     tlv_log tlvs[0];\r
-} wifi_power_event __attribute__((packed));\r
+} __attribute__((packed)) wifi_power_event;\r
 \r
 static char power_event_ring_name[] = "wifi_power_events";\r
 \r