mac80211: timeout a single frame in the rx reorder buffer
authorEliad Peller <eliad@wizery.com>
Wed, 1 Feb 2012 16:48:09 +0000 (18:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Feb 2012 20:46:16 +0000 (12:46 -0800)
commit60d08dde8e209a4e5b6ff95022004c65672c149f
tree42c6a013c103e017219e0a6bb14ee579a8384562
parenta0cbc2da8ed19f3affb50a249dc16a04d5d6f42f
mac80211: timeout a single frame in the rx reorder buffer

commit 07ae2dfcf4f7143ce191c6436da1c33f179af0d6 upstream.

The current code checks for stored_mpdu_num > 1, causing
the reorder_timer to be triggered indefinitely, but the
frame is never timed-out (until the next packet is received)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/rx.c