From: Johannes Berg Date: Mon, 23 Mar 2009 16:28:37 +0000 (+0100) Subject: mac80211: rework the pending packets code X-Git-Tag: v2.6.30-rc1~642^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a577d98712a284a612dd51d69db5cb989810dc2;p=pandora-kernel.git mac80211: rework the pending packets code The pending packets code is quite incomprehensible, uses memory barriers nobody really understands, etc. This patch reworks it entirely, using the queue spinlock, proper stop bits and the skb queues themselves to indicate whether packets are pending or not (rather than a separate variable like before). Signed-off-by: Johannes Berg Reviewed-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- Reading git-diff-tree failed