android_kernel_xiaomi_sm8350/drivers/net/wireless/ath/ar9170
Christian Lamparter e16c1bb67a ar9170: fix bug in iq-auto calibration value calculation
This patch fixes a embarrassing bug which was introduced by:
"[PATCH] ar9170: implement frequency calibration for one-stage/openfw"

The phy_data variable initialization has to done outside the for-loop
scope. This is because the for-loop uses u32 phy_data variable more
like a 4-byte field. But in each run only a single byte is calculated.
Therefore phy_data content needs to stay the same for at least 3 more
iterations, before the complete set can be uploaded.

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-09-29 17:25:16 -04:00
..
ar9170.h
cmd.c
cmd.h
eeprom.h
hw.h
Kconfig
led.c
mac.c
main.c
Makefile
phy.c ar9170: fix bug in iq-auto calibration value calculation 2009-09-29 17:25:16 -04:00
usb.c ar9170usb: add usbid for TP-Link TL-WN821N v2 2009-09-23 11:35:53 -04:00
usb.h