Search Linux Wireless

Re: [RFC] mac80211: use queue helpers to suspend/resume transmission

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

 



On Tue, 2012-04-24 at 00:45 +0530, Rajkumar Manoharan wrote:

>  		spin_lock_irqsave(&local->queue_stop_reason_lock, flags);
> -		if (local->queue_stop_reasons[q] ||
> +		if (local->queue_stop_reasons[q]) {
> +			defer_tx = true;
> +			if (test_bit(IEEE80211_QUEUE_STOP_REASON_ALLOW_PROBE,
> +					&local->queue_stop_reasons[q]) &&
> +			    (ieee80211_is_probe_req(hdr->frame_control) ||
> +			     ieee80211_is_nullfunc(hdr->frame_control)))
> +				defer_tx = false;
> +		}
> +		spin_unlock_irqrestore(&local->queue_stop_reason_lock, flags);
> +		if (defer_tx ||

No no no. This is completely wrong. NACK.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux