mac80211: move "bufferable MMPDU" check to fix AP mode scan
authorFelix Fietkau <nbd@openwrt.org>
Mon, 16 Dec 2013 20:39:50 +0000 (21:39 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 20:44:05 +0000 (21:44 +0100)
commit277d916fc2e959c3f106904116bb4f7b1148d47a
tree149634a0f5cf7474997380570eab72a3cdba2178
parentc0e30763f7ef9c7b7ff663204c9439bdbcac72ca
mac80211: move "bufferable MMPDU" check to fix AP mode scan

The check needs to apply to both multicast and unicast packets,
otherwise probe requests on AP mode scans are sent through the multicast
buffer queue, which adds long delays (often longer than the scanning
interval).

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c