Message ID | 1400750267-2259-1-git-send-email-emmanuel.grumbach@intel.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Thu, 2014-05-22 at 12:17 +0300, Emmanuel Grumbach wrote: > From: Avraham Stern <avraham.stern@intel.com> > > 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. Applied. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 69b656b..7552db2 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c @@ -1296,6 +1296,7 @@ static void ieee80211_setup_sdata(struct ieee80211_sub_if_data *sdata, sdata->control_port_protocol = cpu_to_be16(ETH_P_PAE); sdata->control_port_no_encrypt = false; sdata->encrypt_headroom = IEEE80211_ENCRYPT_HEADROOM; + sdata->vif.bss_conf.idle = true; sdata->noack_map = 0;