rt2x00: Disable link tuning in AP mode
authorHelmut Schaa <helmut.schaa@googlemail.com>
Tue, 29 Jun 2010 19:47:37 +0000 (21:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Jun 2010 19:00:52 +0000 (15:00 -0400)
commit8654b79f9cad1095c905d407193f1230d073786d
tree194a8dcdfa6f03bca3bd9d1e4440da4f480113d4
parentfa43750f00dc1699b24f5b441ab5fa79157a6b1f
rt2x00: Disable link tuning in AP mode

Since the link tuning is based on average RSSI values taken from all received
frames it doesn't make sense to enable it in AP mode where every associated
station provides independent RSSI values. Furthermore the legacy drivers
don't enable link tuning in AP mode as well.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00link.c