]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: fix setting lower noise immunity values
authorFelix Fietkau <nbd@openwrt.org>
Fri, 15 Jun 2012 13:25:26 +0000 (15:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jun 2012 18:44:43 +0000 (14:44 -0400)
commit036ef010295c98af9c28adefdce3f3c114193d3a
tree729b00259f1cc4fb4c40ca2a40135945db91021f
parentec226d79c0048abffca54dc06fcaf88afe3d9d21
ath9k_hw: fix setting lower noise immunity values

Commit 88d8ac59 "ath9k: reset noiseimmunity level to default" was supposed
to ensure that the default noise immunity level is above the INI
values, however it prevents setting lower noise immunity values altogether.
Fix this by moving the checks to the right function.

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