]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: don't flush when probing the AP
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 20 Oct 2014 12:57:18 +0000 (15:57 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 27 Oct 2014 07:48:34 +0000 (08:48 +0100)
commit8576b8e7310107a3b01dc328c333198d9cd04dbe
treef4fcc5427e8124155739c37bb0ce195e987274d1
parente5a06759e611c61907eb67b6417c320214d567b3
mac80211: don't flush when probing the AP

All the callers of ieee80211_mgd_probe_ap_send return right
after they call the flush() callback. This means that calling
flush() is uneeded since its meaning is to wait until the
queues of the device are empty.

Devices that know how to report status on Tx will do so using
the regular path (ieee80211_tx_status) and this status will
trigger the continuation of the flow of the probe
(ieee80211_sta_tx_notify).

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c