mac80211: don't wait for TX status forever
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jul 2013 21:07:43 +0000 (23:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Aug 2013 16:47:29 +0000 (09:47 -0700)
commite0f23666f0d04cf80c18fdc7ad762d1a55187d9c
treec8c538e7a4987fbbe0530b6b61aebb34fe25f707
parent6904756d54d4f98a9f835ed9cbc3f149ef7ac678
mac80211: don't wait for TX status forever

commit cb236d2d713cff83d024a82b836757d9e2b50715 upstream.

TX status notification can get lost, or the frames could
get stuck on the queue, so don't wait for the callback
from the driver forever and instead time out after half
a second.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/mlme.c