diff options
| author | 2011-10-14 12:05:26 +0100 | |
|---|---|---|
| committer | 2011-10-14 14:48:24 -0400 | |
| commit | 5c1381ac3f3f49ab1e0886ea8f1432c9a5def519 (patch) | |
| tree | 8a7defc05a6eac854432449e0f452df26c70d935 /include/linux/flex_array.h | |
| parent | mac80211: Provide station flags to cfg80211 (diff) | |
| download | linux-dev-5c1381ac3f3f49ab1e0886ea8f1432c9a5def519.tar.xz linux-dev-5c1381ac3f3f49ab1e0886ea8f1432c9a5def519.zip | |
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 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
