]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] rt2x00: Stop link tuning when radio is down
authorIvo van Doorn <ivdoorn@gmail.com>
Tue, 25 Sep 2007 18:57:04 +0000 (20:57 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:53:05 +0000 (16:53 -0700)
commit25ab002f94c73d9f214130fe0e0a8065e7b55841
tree5933c09de55a8504a9cb61883e822e20af46328d
parent3e30968e55e43ef08ee08c71258711a79c550f25
[PATCH] rt2x00: Stop link tuning when radio is down

As pointed out by Modestas Vainius the link tuner
could continue working while the radio is already
down. This because at the start of disable_radio
the ENABLED_RADIO flag is cleared and causes the
toggle_rx to skip the stop_link_tuner() call.
This will add a check to the start of the link tuner
which will automatically stop the link tuner when the
radio is disabled.

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