diff options
author | Andriy Voskoboinyk <avos@FreeBSD.org> | 2016-01-22 20:53:50 +0000 |
---|---|---|
committer | Andriy Voskoboinyk <avos@FreeBSD.org> | 2016-01-22 20:53:50 +0000 |
commit | 7a633294dfb25ca4b93ea74804b72bb76ce658b9 (patch) | |
tree | fb0693e7bf251224225007fc7012ea891dbad91f /tools/tools/ath | |
parent | fa28b6e7dab231f5c6ae7c3b6a3ef4a38785eefe (diff) | |
download | src-7a633294dfb25ca4b93ea74804b72bb76ce658b9.tar.gz src-7a633294dfb25ca4b93ea74804b72bb76ce658b9.zip |
tools/tools/ath/ath_ee_v4k_print: reflect changes from r220589
Fix printf() arguments + sort includes
Approved by: adrian (mentor)
Differential Revision: https://reviews.freebsd.org/D4045
Notes
Notes:
svn path=/head/; revision=294600
Diffstat (limited to 'tools/tools/ath')
-rw-r--r-- | tools/tools/ath/ath_ee_v4k_print/v4k.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/tools/tools/ath/ath_ee_v4k_print/v4k.c b/tools/tools/ath/ath_ee_v4k_print/v4k.c index a3a8e6d28b3b..72dc142fcc01 100644 --- a/tools/tools/ath/ath_ee_v4k_print/v4k.c +++ b/tools/tools/ath/ath_ee_v4k_print/v4k.c @@ -26,12 +26,13 @@ * $FreeBSD$ */ +#include <sys/types.h> + +#include <err.h> #include <stdio.h> #include <stdlib.h> -#include <unistd.h> #include <string.h> -#include <sys/types.h> -#include <err.h> +#include <unistd.h> typedef enum { AH_FALSE = 0, /* NB: lots of code assumes false is zero */ @@ -128,12 +129,10 @@ eeprom_v4k_modal_print(uint16_t *buf) printf("| Modal Version: %.2x |\n", mh->version); - printf("| futureModal: 0x%.2x 0x%.2x 0x%.2x 0x%.2x |\n", - mh->futureModal[0], - mh->futureModal[1], - mh->futureModal[2], - mh->futureModal[3] - ); + printf("| tx_diversity: 0x%.2x |\n", mh->tx_diversity); + printf("| flc_pwr_thresh: 0x%.2x |\n", mh->flc_pwr_thresh); + printf("| bb_scale_smrt_antenna: 0x%.2x |\n", mh->bb_scale_smrt_antenna); + printf("| futureModal: 0x%.2x |\n", mh->futureModal[0]); /* and now, spur channels */ for (i = 0; i < AR5416_EEPROM_MODAL_SPURS; i++) { |