[PATCH] rt2x00: Correct error in calculating rssi for link tuner
authorIvo van Doorn <ivdoorn@gmail.com>
Tue, 25 Sep 2007 18:53:20 +0000 (20:53 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:53:01 +0000 (16:53 -0700)
commit725d99d4660fcd9abe37d7b733c9412a58465d13
tree9b5a436993fc31499d89e8a127aa657d6094d9c4
parent79010420cc3f78eab911598bfdd29c4b06a83e1f
[PATCH] rt2x00: Correct error in calculating rssi for link tuner

The call to rt2x00lib_precalculate_link_signal resets link.rx_success
which is needed when calculating the average rssi for the link
tuner. Change the call order so the link tuner runs first as it
doesn't need the result of the precalculate.

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