[PATCH] softmac: remove netif_tx_disable when scanning
authorMichael Buesch <mb@bu3sch.de>
Mon, 27 Nov 2006 20:37:21 +0000 (14:37 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 28 Nov 2006 19:10:48 +0000 (14:10 -0500)
commita3df3b6f2e37474cdb8b56d55d31be41c22f9b18
tree554969c8f5ffe7a2067cae3a88779e2805b3e095
parentefa53ebe0d2f50bf342eb1976824f59bba9941eb
[PATCH] softmac: remove netif_tx_disable when scanning

In the scan section of ieee80211softmac, network transmits are
disabled.  When SoftMAC re-enables transmits, it may override the
wishes of a driver that may have very good reasons for disabling
transmits. At least one failure in bcm43xx can be traced to this
problem. In addition, several unexplained problems may arise from
the unexpected enabling of transmits. Note that making this change
introduces a new bug that would allow transmits for the current session
to be transmitted on the wrong channel; however, the new bug is much
less severe than the one being fixed, as the new one only leads to
a few retransmits, whereas the old one can bring the interface down.

A fix that will not introduce new bugs is being investigated; however,
the current, more serious one should be fixed now.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/softmac/ieee80211softmac_scan.c