diff options
author | John W. Linville <linville@tuxdriver.com> | 2007-10-04 14:04:40 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:55:23 -0700 |
commit | 0654ff055c6ce5642eed88ba22915b0e56666794 (patch) | |
tree | 9bf9d66c540dd3c52a8b58d96f229cde153f9529 /mm/thrash.c | |
parent | 04799fae8ecb42b2c687fa85fe32ff79ea0e9dc9 (diff) |
[PATCH] ieee80211_if_set_type: make check for master dev more explicit
Problem description by Daniel Drake <dsd@gentoo.org>:
"This sequence of events causes loss of connectivity:
<plug in>
<associate as normal in managed mode>
ifconfig eth7 down
iwconfig eth7 mode monitor
ifconfig eth7 up
ifconfig eth7 down
iwconfig eth7 mode managed
<associate as normal>
At this point you are associated but TX does not work. This is because
the eth7 hard_start_xmit is still ieee80211_monitor_start_xmit."
The problem is caused by ieee80211_if_set_type checking for a non-zero
hard_start_xmit pointer value in order to avoid changing that value for
master devices. The fix is to make that check more explicitly linked to
master devices rather than simply checking if the value has been
previously set.
CC: Daniel Drake <dsd@gentoo.org>
Acked-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'mm/thrash.c')
0 files changed, 0 insertions, 0 deletions