From: Jussi Kivilinna Date: Mon, 31 Jan 2011 18:48:16 +0000 (+0200) Subject: zd1211rw: fix ack_pending in filter_ack causing tx-packet ordering problem on monitor X-Git-Tag: v2.6.39-rc1~468^2~403^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f773e409b959677170b3cf1d573dafc4a0a3e34e;p=pandora-kernel.git zd1211rw: fix ack_pending in filter_ack causing tx-packet ordering problem on monitor For reasons not very clear yet to me, filter_ack leaves matching tx-packet pending with 'ack_pending'. This causes tx-packet to be passed back to upper layer after next packet has been transfered and tx-packets might end up coming come out of monitor interface in wrong order vs. rx. Because of this when enable AP-mode, hostapd monitor interface would get packets in wrong order causing problems in WPA association. So don't use mac->ack_pending when in AP-mode. Signed-off-by: Jussi Kivilinna Signed-off-by: John W. Linville --- Reading git-diff-tree failed