mac80211: cleanup reorder buffer handling
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 16 Nov 2009 11:00:40 +0000 (12:00 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Nov 2009 22:09:17 +0000 (17:09 -0500)
commita02ae758e8780d737b6d0135d6292bb3043e7eea
treed7a1acb57944f51ddd299a8373b3e9f0174bffe8
parentaf2ced6a32dafb71d21b726c06df57fc574093d7
mac80211: cleanup reorder buffer handling

The reorder buffer handling is written in a quite
peculiar style (especially comments) and also has
a quirk where it invokes the entire reorder code
in ieee80211_sta_manage_reorder_buf() for just a
handful of lines in it with a special argument.

Split out ieee80211_release_reorder_frames which
can then be invoked from BAR handling and other
reordering code, clean up code and comments and
remove function arguments that are now unused from
ieee80211_sta_manage_reorder_buf().

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c