Search Linux Wireless

Re: [PATCH v10 4/4] mac80211: CSA on non-transmitting interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2021-04-26 at 12:05 -0700, Aloka Dixit wrote:
> 
> +	if (sdata->vif.mbssid.flags & IEEE80211_VIF_MBSSID_TX) {
> +		struct ieee80211_sub_if_data *child;
> +
> +		wiphy_unlock(sdata->local->hw.wiphy);
> +		mutex_lock(&sdata->local->iflist_mtx);
> +		list_for_each_entry(child, &sdata->local->interfaces, list)
> +			if (child->vif.mbssid.parent == vif &&
> +			    ieee80211_sdata_running(child))
> +				ieee80211_queue_work(&child->local->hw,
> +						     &child->csa_finalize_work);
> +		mutex_unlock(&sdata->local->iflist_mtx);
> +		wiphy_lock(sdata->local->hw.wiphy);

Same here wrt. locking, but for queueing work it shouldn't matter?

johannes




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux