mac80211: set new interfaces as idle upon init
authorAvraham Stern <avraham.stern@intel.com>
Thu, 22 May 2014 09:17:47 +0000 (12:17 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 28 May 2014 14:22:49 +0000 (16:22 +0200)
commitd3a58df87a2e4c2301ac843604202d290a48440b
treebba6b103bd5bb5c65583a84d3133d4d83d1a0b0c
parentabd43a6a68b2f69821eef3daf789242b262ba2c0
mac80211: set new interfaces as idle upon init

Mark new interfaces as idle to allow operations that require that
interfaces are idle to take place. Interface types that are always
not idle (like AP interfaces) will be set as not idle when they are
assigned a channel context.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Emmanuel Grumbach<emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c