diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-05-19 17:49:46 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-20 14:46:37 -0400 |
commit | eeddfd9db3b1c50d49202d0be35aae187fa90129 (patch) | |
tree | a673edec9981f6f18951d59001701d9750dda0b4 /drivers/net | |
parent | db67645db623caa12976293caa95fcd33d8c11b4 (diff) |
ath9k: set max default eirp to 20 dBm
This is always discarded anyway but lets just set this to our
safest lowest.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 1839b559bdc3..5759c9465029 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -35,14 +35,14 @@ MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption"); | |||
35 | #define CHAN2G(_freq, _idx) { \ | 35 | #define CHAN2G(_freq, _idx) { \ |
36 | .center_freq = (_freq), \ | 36 | .center_freq = (_freq), \ |
37 | .hw_value = (_idx), \ | 37 | .hw_value = (_idx), \ |
38 | .max_power = 30, \ | 38 | .max_power = 20, \ |
39 | } | 39 | } |
40 | 40 | ||
41 | #define CHAN5G(_freq, _idx) { \ | 41 | #define CHAN5G(_freq, _idx) { \ |
42 | .band = IEEE80211_BAND_5GHZ, \ | 42 | .band = IEEE80211_BAND_5GHZ, \ |
43 | .center_freq = (_freq), \ | 43 | .center_freq = (_freq), \ |
44 | .hw_value = (_idx), \ | 44 | .hw_value = (_idx), \ |
45 | .max_power = 30, \ | 45 | .max_power = 20, \ |
46 | } | 46 | } |
47 | 47 | ||
48 | /* Some 2 GHz radios are actually tunable on 2312-2732 | 48 | /* Some 2 GHz radios are actually tunable on 2312-2732 |