]> err.no Git - linux-2.6/commit
rt2x00: Fix rt2x00lib_reset_link_tuner()
authorIvo van Doorn <ivdoorn@gmail.com>
Mon, 25 Feb 2008 22:15:13 +0000 (23:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Feb 2008 14:13:10 +0000 (09:13 -0500)
commit53b3f8e47a38f39836da1c9f9d2ea9a9c164c8f4
treeaa393f45d18a68eff497534dfa39fa07596e9440
parent05253c93feb40901d80a0d6f239a0bc78860c679
rt2x00: Fix rt2x00lib_reset_link_tuner()

rt2x00lib_reset_link_tuner() can be called from within
the link tuner itself. This means that it should
_not_ call rt2x00lib_stop_link_tuner() since that will
cause the thread to hang.

Reorder the things that should be done during a
link tuner reset and during a link tuner start.

Also make antenna tuning the last step of the link
tuner since it could possibly reset some statistical
information which we need for average calculation.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00dev.c