replace net_device arguments with ieee80211_{local,sub_if_data} as appropriate
authorJasper Bryant-Greene <jasper@amiton.co.nz>
Sun, 3 Aug 2008 00:04:37 +0000 (12:04 +1200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 Aug 2008 20:29:58 +0000 (16:29 -0400)
commitf698d856f65c3fea091cc303a135967965c5b880
tree94c7c2d561e5191646dc5798683c0aca97973773
parentfef1643bf0cdd092a52dc3378479e4811fd65152
replace net_device arguments with ieee80211_{local,sub_if_data} as appropriate

This patch replaces net_device arguments to mac80211 internal functions
with ieee80211_{local,sub_if_data} as appropriate.

It also does the same for many 802.11s mesh functions, and changes the
mesh path table to be indexed on sub_if_data rather than net_device.

If the mesh part needs to be a separate patch let me know, but since
mesh uses a lot of mac80211 functions which were being converted anyway,
the changes go hand-in-hand somewhat.

This patch probably does not convert all the functions which could be
converted, but it is a large chunk and followup patches will be
provided.

Signed-off-by: Jasper Bryant-Greene <jasper@amiton.co.nz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
16 files changed:
net/mac80211/cfg.c
net/mac80211/debugfs_sta.c
net/mac80211/event.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/main.c
net/mac80211/mesh.c
net/mac80211/mesh.h
net/mac80211/mesh_hwmp.c
net/mac80211/mesh_pathtbl.c
net/mac80211/mesh_plink.c
net/mac80211/mlme.c
net/mac80211/rx.c
net/mac80211/tx.c
net/mac80211/wext.c
net/mac80211/wpa.c