diff options
author | Kumar Anand <kumaranand@google.com> | 2021-03-15 11:16:09 -0700 |
---|---|---|
committer | Kumar Anand <kumaranand@google.com> | 2021-03-15 11:27:54 -0700 |
commit | f2eed442a6769c3b873083d3ed78fc284b0a416e (patch) | |
tree | 88dc5df1ed6c6a5975269e99de8d8fa69ea0c0b6 | |
parent | a7319216694087e58623a658fad314532bf981bd (diff) | |
download | libhardware_legacy-f2eed442a6769c3b873083d3ed78fc284b0a416e.tar.gz |
Wifi: Remove multiple definitions
Remove compilation warnings due to -Wtypedef-redefinition.
Bug: 160212907
Test: Build Successfully
Change-Id: I8925cf33fa64fbba4a6cbb782ecc107a7741fe87
-rw-r--r-- | include/hardware_legacy/wifi_config.h | 2 | ||||
-rw-r--r-- | include/hardware_legacy/wifi_hal.h | 2 | ||||
-rw-r--r-- | include/hardware_legacy/wifi_logger.h | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/include/hardware_legacy/wifi_config.h b/include/hardware_legacy/wifi_config.h index 8ad14f4..9ddf8b8 100644 --- a/include/hardware_legacy/wifi_config.h +++ b/include/hardware_legacy/wifi_config.h @@ -12,8 +12,6 @@ extern "C" #define CONFIG_MINOR_VERSION 0
#define CONFIG_MICRO_VERSION 0
-typedef int wifi_radio;
-
// whether the wifi chipset wakes at every dtim beacon or a multiple of the dtim period
// if extended_dtim is set to 3, the STA shall wake up every 3 DTIM beacons
wifi_error wifi_extended_dtim_config_set(wifi_request_id id,
diff --git a/include/hardware_legacy/wifi_hal.h b/include/hardware_legacy/wifi_hal.h index 74cabb6..341a786 100644 --- a/include/hardware_legacy/wifi_hal.h +++ b/include/hardware_legacy/wifi_hal.h @@ -156,7 +156,7 @@ typedef struct { typedef enum { /* Filter Wifi channels that should be avoided due to cellular coex * restrictions. Some Wifi channels can have extreme interference - * from/to cellular due to short frequency seperation with neighboring + * from/to cellular due to short frequency separation with neighboring * cellular channels or when there is harmonic and intermodulation * interference. Channels which only have some performance degradation * (e.g. power back off is sufficient to deal with coexistence issue) diff --git a/include/hardware_legacy/wifi_logger.h b/include/hardware_legacy/wifi_logger.h index 465c00b..e6f7c48 100644 --- a/include/hardware_legacy/wifi_logger.h +++ b/include/hardware_legacy/wifi_logger.h @@ -35,7 +35,6 @@ extern "C" */ -typedef int wifi_radio; typedef int wifi_ring_buffer_id; #define PER_PACKET_ENTRY_FLAGS_DIRECTION_TX 1 // 0: TX, 1: RX |