[PATCH 6/6] build fix: excess elements in array initializer
Oleksij Rempel
linux at rempel-privat.de
Sun Mar 17 14:14:30 EDT 2013
in target_firmware/wlan/ar5416_phy.c:
HAL_RATE_TABLE ar5416_11ng_table
last part of array was probably ignored by compiler.
Signed-off-by: Oleksij Rempel <linux at rempel-privat.de>
---
target_firmware/wlan/ah.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/target_firmware/wlan/ah.h b/target_firmware/wlan/ah.h
index c86d115..493dc88 100755
--- a/target_firmware/wlan/ah.h
+++ b/target_firmware/wlan/ah.h
@@ -240,7 +240,7 @@ typedef struct {
typedef struct {
a_int32_t rateCount;
- a_uint8_t rateCodeToIndex[32];
+ a_uint8_t rateCodeToIndex[33];
struct {
a_uint8_t valid;
a_uint8_t phy;
@@ -254,7 +254,7 @@ typedef struct {
a_uint8_t controlRate;
a_uint16_t lpAckDuration;
a_uint16_t spAckDuration;
- } info[32];
+ } info[33];
} HAL_RATE_TABLE;
typedef struct {
@@ -271,7 +271,7 @@ typedef struct {
typedef struct {
a_int32_t rateCount;
- a_uint8_t rateCodeToIndex[32];
+ a_uint8_t rateCodeToIndex[33];
struct {
a_uint8_t valid;
a_uint8_t phy;
@@ -282,7 +282,7 @@ typedef struct {
a_uint8_t controlRate;
a_uint16_t lpAckDuration;
a_uint16_t spAckDuration;
- } info[32];
+ } info[33];
} HAL_RATE_TABLE;
#define HAL_RATESERIES_RTS_CTS 0x0001 /* use rts/cts w/this series */
--
1.8.1.2
More information about the Ath9k_htc_fw
mailing list