mac80211: use common work function
authorJohannes Berg <johannes.berg@intel.com>
Thu, 10 Jun 2010 08:21:32 +0000 (10:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jun 2010 19:38:17 +0000 (15:38 -0400)
commit1fa57d017366fb26b58af110a38b36a4f0214a62
tree9bf7e82b3e429908498a70aa5c75c2af06b261b6
parent64592c8fc0e99d445fc3fdedddeb6088e20086f1
mac80211: use common work function

Even with the previous patch, IBSS, managed
and mesh modes all attach their own work
function to the shared work struct, which
means some duplicated code. Change that to
only have a frame processing function and a
further work function for each of them and
share some common code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ibss.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/mesh.c
net/mac80211/mlme.c