From: Daniel Drake Date: Fri, 14 Oct 2011 11:05:26 +0000 (+0100) Subject: libertas: fix changing interface type when interface is down X-Git-Tag: v3.2-rc1~129^2~83^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c1381ac3f3f49ab1e0886ea8f1432c9a5def519;p=pandora-kernel.git 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 Acked-by: Dan Williams Signed-off-by: John W. Linville --- Reading git-diff-tree failed