UPSTREAM: mac80211: flush to get the tx status of nullfunc frame immediately
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Thu, 8 Mar 2012 01:35:47 +0000 (07:05 +0530)
committerOlof Johansson <olof@lixom.net>
Fri, 1 Jun 2012 07:03:11 +0000 (00:03 -0700)
commit80096e796124a8e5967e16708c6b73b9d7724909
treed1dedc6a6bcbb44d5cbbd30c21b0246a66d2fe94
parentb91ff599101d00bef82d27ab3cf2b77b98054167
UPSTREAM: mac80211: flush to get the tx status of nullfunc frame immediately

Sometimes the probe frame (nullfunc) is stuck at the hw queue. so that
the mac80211 terminates the connection as it wont see the tx status.
Instead of waiting for long period for ack status, lets call flush
to get nullfunc status immediately. It also helps to send the nullfunc
till max tries reached.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
BUG=chrome-os-partner:4886
TEST=Torture testing Azimuth with hidden nodes; manual over-the-air
testing.
Signed-off-by: Paul Stewart <pstew@google.com>
Originally-Reviewed-on: https://gerrit.chromium.org/gerrit/17985
(cherry picked from commit 23f1f5f0970176ef2bb11964daee7236a218707a)

Change-Id: Iceb8f2251dd61853b78141dcd2182a2ff7c0081a
Reviewed-on: https://gerrit.chromium.org/gerrit/18632
Reviewed-by: Gary Morain <gmorain@chromium.org>
Commit-Ready: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
net/mac80211/mlme.c