diff options
author | Anna Neal <anna@cozybit.com> | 2008-09-26 19:34:35 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-30 22:07:23 +0400 |
commit | 3ed6e0803b4fe95107f6cb5a432587d03cd4d17a (patch) | |
tree | 0b7b231ea5c315451a2efe5f5f74a25d8394d7f7 /drivers/net/wireless/libertas/cmd.c | |
parent | d88410a0b657c5ccebd1c120af1f14c5ca6a3d95 (diff) | |
download | linux-3ed6e0803b4fe95107f6cb5a432587d03cd4d17a.tar.xz |
libertas: Improvements on automatic tx power control via SIOCSIWTXPOW (fixups)
This patch addresses comments from Dan Williams about the patch
committed as "libertas: Improvements on automatic tx power control via
SIOCSIWTXPOW."
Signed-off-by: Anna Neal <anna@cozybit.com>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index aee19fa844e4..a912fb68c099 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c @@ -1949,7 +1949,7 @@ int lbs_set_tpc_cfg(struct lbs_private *priv, int enable, int8_t p0, int8_t p1, cmd.hdr.size = cpu_to_le16(sizeof(cmd)); cmd.action = cpu_to_le16(CMD_ACT_SET); cmd.enable = !!enable; - cmd.usesnr = !!enable; + cmd.usesnr = !!usesnr; cmd.P0 = p0; cmd.P1 = p1; cmd.P2 = p2; |