]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k: initialize tx chainmask before testing channel tx power values
authorFelix Fietkau <nbd@openwrt.org>
Wed, 27 Jul 2011 13:01:02 +0000 (15:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Aug 2011 01:31:33 +0000 (18:31 -0700)
commitcbd1db4bb30ca684d811f4b5bf5dc099aa582445
tree24f6b034cc5ac5cec4e9145b3d9fe8aa20afad60
parent965045249af402d12228f659cb12a8aead05bbe2
ath9k: initialize tx chainmask before testing channel tx power values

commit c1227340ca65c2069222a956a68b6842d460c4f4 upstream.

With an uninitialized chainmask, the per-channel power will only contain
the power limits for a single chain instead of the combined tx power.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/init.c