kernel-fxtec-pro1x/drivers/net/wireless/iwlegacy
Stanislaw Gruszka 332704a514 iwlegacy: fix tx_power initialization
priv->tx_power_next is not initialized to max supported power,
but instead default value is used, what cause errors like

[   58.597834] iwl3945 0000:03:00.0: Requested user TXPOWER 15 above upper limit 14.
[   58.597839] iwl3945 0000:03:00.0: Error setting Tx power (-22).

if maximum tx power read from the eeprom is smaller than default.
In consequence card is unable to initialize properly. Fix the problem
and cleanup tx power initialization.

Reported-and-tested-by: Robin Dong <hao.bigrat@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-04-13 15:09:53 -04:00
..
iwl-3945-debugfs.c
iwl-3945-debugfs.h
iwl-3945-fh.h
iwl-3945-hw.h iwlegacy: fix tx_power initialization 2011-04-13 15:09:53 -04:00
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c
iwl-3945.c
iwl-3945.h
iwl-4965-calib.c
iwl-4965-calib.h
iwl-4965-debugfs.c
iwl-4965-debugfs.h
iwl-4965-eeprom.c
iwl-4965-hw.h iwlegacy: fix tx_power initialization 2011-04-13 15:09:53 -04:00
iwl-4965-led.c
iwl-4965-led.h
iwl-4965-lib.c
iwl-4965-rs.c
iwl-4965-rx.c
iwl-4965-sta.c
iwl-4965-tx.c
iwl-4965-ucode.c
iwl-4965.c
iwl-4965.h
iwl-commands.h
iwl-core.c iwlegacy: fix tx_power initialization 2011-04-13 15:09:53 -04:00
iwl-core.h
iwl-csr.h
iwl-debug.h
iwl-debugfs.c
iwl-dev.h
iwl-devtrace.c
iwl-devtrace.h
iwl-eeprom.c iwlegacy: fix tx_power initialization 2011-04-13 15:09:53 -04:00
iwl-eeprom.h
iwl-fh.h
iwl-hcmd.c
iwl-helpers.h
iwl-io.h
iwl-led.c
iwl-led.h
iwl-legacy-rs.h
iwl-power.c
iwl-power.h
iwl-prph.h
iwl-rx.c
iwl-scan.c
iwl-spectrum.h
iwl-sta.c
iwl-sta.h
iwl-tx.c
iwl3945-base.c iwlegacy: fix tx_power initialization 2011-04-13 15:09:53 -04:00
iwl4965-base.c iwlegacy: fix tx_power initialization 2011-04-13 15:09:53 -04:00
Kconfig iwlegacy: make iwl3945 and iwl4965 select IWLWIFI_LEGACY 2011-04-11 13:56:07 -04:00
Makefile