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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2014 23:28:53 +0000 (15:28 -0800)
commit9b788c26a953d491617b05d1f4c63895524e7dab
tree550c8a8d8d6bf1d380063c1d8c16073cb10b6f43
parent290a699346ae6cc3e4ccfa7bdc1ee4445f6e020f
mac80211: move "bufferable MMPDU" check to fix AP mode scan

commit 277d916fc2e959c3f106904116bb4f7b1148d47a upstream.

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).

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/tx.c