diff options
author | Daniel Drake <dsd@laptop.org> | 2011-10-14 11:05:26 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-10-14 18:48:24 (GMT) |
commit | 5c1381ac3f3f49ab1e0886ea8f1432c9a5def519 (patch) | |
tree | 8a7defc05a6eac854432449e0f452df26c70d935 /arch | |
parent | 7a72476766735c57bc00d655770f8f21f232f482 (diff) | |
download | linux-fsl-qoriq-5c1381ac3f3f49ab1e0886ea8f1432c9a5def519.tar.xz |
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 'arch')
0 files changed, 0 insertions, 0 deletions