]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: validate rx antenna settings
authorFelix Fietkau <nbd@openwrt.org>
Sun, 15 Jul 2012 17:53:30 +0000 (19:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Jul 2012 19:11:34 +0000 (15:11 -0400)
commitf6dc27ce0be8acb963106d2e21cda176054f8886
tree063eb81ecc5526049d75f7fd3ccda4a3cf6ce573
parent6aabe41dd39b76e6368984511d3e623824e96b56
ath9k: validate rx antenna settings

Many chips are not able to deal with non-consecutive rx antenna selections
and respond with calibration errors, reset errors, etc.
When an antenna is selected as a tx antenna, also flag it for rx to avoid
chip issues.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c