From: Arik Nemtsov Date: Wed, 11 Jun 2014 14:18:24 +0000 (+0300) Subject: mac80211: implement proper Tx path flushing for TDLS X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~18^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db67d661e82da22f751585a7f284a9251e8a2a51;p=pandora-kernel.git mac80211: implement proper Tx path flushing for TDLS As the spec mandates, flush data in the AP path before transmitting the first setup frame. Data packets transmitted during setup are already dropped in the Tx path. For the teardown flow, flush all packets in the direct path before transmitting the teardown frame. Un-authorize the peer sta after teardown is sent, forcing all subsequent Tx to the peer through the AP. Make sure to flush the queues when disabling the link to get the teardown packet out. Signed-off-by: Arik Nemtsov [adjust to Luca's new quuee API and stop only vif queues] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed