linux/drivers/net/wireless/rt2x00
Gabor Juhos 0847beb286 rt2x00: rt2800lib: fix default TX power check for RT55xx
The code writes the default_power2 value into the TX field
of the RFCSR50 register, however the condition in the if
statement uses default_power1. Due to this, wrong TX power
value might be written into the register.

Use the correct value in the condition to fix the issue.

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: stable@vger.kernel.org # 3.10
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-06-27 13:42:13 -04:00
..
Kconfig Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-04-10 09:31:39 -04:00
Makefile rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs 2013-04-03 14:50:06 -04:00
rt2x00.h rt2x00: move extra_tx_headroom field from rt2x00_ops to rt2x00_dev 2013-06-12 15:02:15 -04:00
rt2x00config.c mac80211: Use a cfg80211_chan_def in ieee80211_hw_conf_chan 2013-03-25 19:19:35 +01:00
rt2x00crypto.c
rt2x00debug.c rt2x00: Use more current logging styles, shrink object size 2013-04-22 15:20:26 -04:00
rt2x00debug.h
rt2x00dev.c rt2x00: move extra_tx_headroom field from rt2x00_ops to rt2x00_dev 2013-06-12 15:02:15 -04:00
rt2x00dump.h
rt2x00firmware.c rt2x00: Use more current logging styles, shrink object size 2013-04-22 15:20:26 -04:00
rt2x00leds.c rt2x00: Use more current logging styles, shrink object size 2013-04-22 15:20:26 -04:00
rt2x00leds.h
rt2x00lib.h
rt2x00link.c
rt2x00mac.c rt2x00: Use more current logging styles, shrink object size 2013-04-22 15:20:26 -04:00
rt2x00mmio.c rt2x00: Use more current logging styles, shrink object size 2013-04-22 15:20:26 -04:00
rt2x00mmio.h rt2x00: rt2x00mmio: remove unused rt2x00pci_* defines 2013-04-10 14:10:32 -04:00
rt2x00pci.c rt2x00pci: Use PCI MSIs whenever possible 2013-05-22 15:05:32 -04:00
rt2x00pci.h rt2x00: rt2x00pci: fix build error on Ralink RT3x5x SoCs 2013-04-03 14:50:06 -04:00
rt2x00queue.c rt2x00: move extra_tx_headroom field from rt2x00_ops to rt2x00_dev 2013-06-12 15:02:15 -04:00
rt2x00queue.h rt2x00: remove data_queue_desc struct 2013-06-12 14:59:38 -04:00
rt2x00reg.h
rt2x00soc.c rt2x00: Use more current logging styles, shrink object size 2013-04-22 15:20:26 -04:00
rt2x00soc.h
rt2x00usb.c rt2x00: Use more current logging styles, shrink object size 2013-04-22 15:20:26 -04:00
rt2x00usb.h
rt61pci.c rt2x00: read 5GHz TX power values from the correct offset 2013-06-24 14:44:25 -04:00
rt61pci.h
rt73usb.c rt2x00: read 5GHz TX power values from the correct offset 2013-06-24 14:44:25 -04:00
rt73usb.h
rt2400pci.c rt2x00: move extra_tx_headroom field from rt2x00_ops to rt2x00_dev 2013-06-12 15:02:15 -04:00
rt2400pci.h
rt2500pci.c rt2x00: move extra_tx_headroom field from rt2x00_ops to rt2x00_dev 2013-06-12 15:02:15 -04:00
rt2500pci.h
rt2500usb.c rt2x00: move extra_tx_headroom field from rt2x00_ops to rt2x00_dev 2013-06-12 15:02:15 -04:00
rt2500usb.h
rt2800.h rt2x00: rt2800: increase EEPROM_SIZE to 512 bytes 2013-06-27 13:42:12 -04:00
rt2800lib.c rt2x00: rt2800lib: fix default TX power check for RT55xx 2013-06-27 13:42:13 -04:00
rt2800lib.h rt2x00: rt2800: convert read_eeprom functions to return an int value 2013-01-07 15:16:54 -05:00
rt2800pci.c rt2x00: rt2800: unify [RT]XWI_SIZE defines 2013-06-24 14:44:26 -04:00
rt2800pci.h
rt2800usb.c rt2x00: rt2800: unify [RT]XWI_SIZE defines 2013-06-24 14:44:26 -04:00
rt2800usb.h