Re: [RFC] mac80211: don't flush when probing the AP

2014-10-20 Thread Johannes Berg
On Thu, 2014-10-16 at 23:25 +0300, Emmanuel Grumbach wrote: 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. It is pointless to

RE: [RFC] mac80211: don't flush when probing the AP

2014-10-20 Thread Grumbach, Emmanuel
On Thu, 2014-10-16 at 23:25 +0300, Emmanuel Grumbach wrote: 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. It is pointless

[RFC] mac80211: don't flush when probing the AP

2014-10-16 Thread Emmanuel Grumbach
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. It is pointless to wait if there is nothing that must ensure that the frame has left