diff options
author | Nick Kossifidis <mickflemm@gmail.com> | 2012-08-05 15:35:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-08-10 15:26:57 -0400 |
commit | 987af54fa93b1c01eb3a85229bc93dfe77e6d2e1 (patch) | |
tree | 4ec197947f716e51234885fca69ab87d43c9f018 /drivers/net/wireless/ath/ath5k/ath5k.h | |
parent | 493ca5ef4ec8a7e8396d6ab26f48de66bdf73dca (diff) |
ath5k: Put power_level where it belongs and rename it
Put power_level to ah_txpower struct with the rest tx power infos and
also rename it to txp_requested to make more sense.
v2 make sure we don't memset it to zero on reset
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/ath5k.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h index 64a453a6dfe4..3150def17193 100644 --- a/drivers/net/wireless/ath/ath5k/ath5k.h +++ b/drivers/net/wireless/ath/ath5k/ath5k.h | |||
@@ -1331,7 +1331,6 @@ struct ath5k_hw { | |||
1331 | unsigned int nexttbtt; /* next beacon time in TU */ | 1331 | unsigned int nexttbtt; /* next beacon time in TU */ |
1332 | struct ath5k_txq *cabq; /* content after beacon */ | 1332 | struct ath5k_txq *cabq; /* content after beacon */ |
1333 | 1333 | ||
1334 | int power_level; /* Requested tx power in dBm */ | ||
1335 | bool assoc; /* associate state */ | 1334 | bool assoc; /* associate state */ |
1336 | bool enable_beacon; /* true if beacons are on */ | 1335 | bool enable_beacon; /* true if beacons are on */ |
1337 | 1336 | ||
@@ -1425,6 +1424,7 @@ struct ath5k_hw { | |||
1425 | /* Value in dB units */ | 1424 | /* Value in dB units */ |
1426 | s16 txp_cck_ofdm_pwr_delta; | 1425 | s16 txp_cck_ofdm_pwr_delta; |
1427 | bool txp_setup; | 1426 | bool txp_setup; |
1427 | int txp_requested; /* Requested tx power in dBm */ | ||
1428 | } ah_txpower; | 1428 | } ah_txpower; |
1429 | 1429 | ||
1430 | struct ath5k_nfcal_hist ah_nfcal_hist; | 1430 | struct ath5k_nfcal_hist ah_nfcal_hist; |