summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-01-29 04:34:30 +0000
committeradrian <adrian@FreeBSD.org>2011-01-29 04:34:30 +0000
commit375973917a31054e0a5f542916ec5a3627856141 (patch)
tree7863d5a6dab2ff99ad8ead141fe2b34937dcb17a
parent18ab342cb369afafde348afc2c26bf00ced1420e (diff)
downloadFreeBSD-src-375973917a31054e0a5f542916ec5a3627856141.zip
FreeBSD-src-375973917a31054e0a5f542916ec5a3627856141.tar.gz
Keep this in sync with the ar5212 power rate table size.
This doesn't yet know about the 802.11n radios or rates.
-rw-r--r--tools/tools/ath/athpow/athpow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/ath/athpow/athpow.c b/tools/tools/ath/athpow/athpow.c
index a798e7f..2b2683d 100644
--- a/tools/tools/ath/athpow/athpow.c
+++ b/tools/tools/ath/athpow/athpow.c
@@ -78,7 +78,7 @@ main(int argc, char *argv[])
const char *ifname;
HAL_REVS revs;
u_int16_t pcdacTable[MAX(PWR_TABLE_SIZE,PWR_TABLE_SIZE_2413)];
- u_int16_t ratesArray[16];
+ u_int16_t ratesArray[37];
u_int nrates, npcdac;
s = socket(AF_INET, SOCK_DGRAM, 0);
OpenPOWER on IntegriCloud