diff options
author | Daniel Drake <dsd@laptop.org> | 2011-10-14 12:05:26 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-10-14 14:48:24 -0400 |
commit | 5c1381ac3f3f49ab1e0886ea8f1432c9a5def519 (patch) | |
tree | 8a7defc05a6eac854432449e0f452df26c70d935 /net/mac80211 | |
parent | 7a72476766735c57bc00d655770f8f21f232f482 (diff) |
libertas: fix changing interface type when interface is down
The recent changes to only power the device when the interface up
introduced a bug: changing interface type, legal when the interface
is down, performs device I/O.
Fix this functionality by validating and recording the interface
type when the change is requested, but only applying the change
if/when the interface is brought up.
Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions