From: Helmut Schaa Date: Mon, 14 Jun 2010 20:11:32 +0000 (+0200) Subject: rt2x00: Fix typo in rt2800_config_txpower X-Git-Tag: MMI-PSA29.97-13-9~23092^2~107^2~225 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a3f84ca4b8dc31d0034a8b23194a4470766c938c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git rt2x00: Fix typo in rt2800_config_txpower Fix typo in rt2800_config_txpower. Signed-off-by: Helmut Schaa Acked-by: Gertjan van Wingerde Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index ae20e6728b1e..f15832245e0e 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c @@ -1079,7 +1079,7 @@ static void rt2800_config_txpower(struct rt2x00_dev *rt2x00dev, u8 r1; rt2800_bbp_read(rt2x00dev, 1, &r1); - rt2x00_set_field8(®, BBP1_TX_POWER, 0); + rt2x00_set_field8(&r1, BBP1_TX_POWER, 0); rt2800_bbp_write(rt2x00dev, 1, r1); rt2800_register_read(rt2x00dev, TX_PWR_CFG_0, ®);