]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: check iface combinations only when iface is running
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 8 Jun 2012 08:55:44 +0000 (10:55 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 9 Jun 2012 08:31:56 +0000 (10:31 +0200)
commit2c167c1c4c28bc3bed252df6475c094eaf1bfb47
treec2f7f315196faca26ed95ec1e8e09619af4b964f
parent601c19c366765b43cfbd7863e2bce5e539efb2e3
cfg80211: check iface combinations only when iface is running

Don't validate interface combinations on a stopped
interface. Otherwise we might end up being able to
create a new interface with a certain type, but
won't be able to change an existing interface
into that type.

This also skips some other functions when
interface is stopped and changing interface type.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/util.c