linux/drivers/net/wireless/libertas_tf
Johannes Berg 1ed32e4fc8 mac80211: remove struct ieee80211_if_init_conf
All its members (vif, mac_addr, type) are now available
in the vif struct directly, so we can pass that instead
of the conf struct. I generated this patch (except the
mac80211 and header file changes) with this semantic
patch:

@@
identifier conf, fn, hw;
type tp;
@@
tp fn(struct ieee80211_hw *hw,
-struct ieee80211_if_init_conf *conf)
+struct ieee80211_vif *vif)
{
<...
(
-conf->type
+vif->type
|
-conf->mac_addr
+vif->addr
|
-conf->vif
+vif
)
...>
}

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-12-28 16:55:07 -05:00
..
cmd.c mac80211: constify ieee80211_if_conf.bssid 2009-01-29 16:01:07 -05:00
if_usb.c libertas_tf_usb: declare MODULE_FIRMWARE 2009-11-11 15:23:53 -05:00
if_usb.h
libertas_tf.h mac80211: constify ieee80211_if_conf.bssid 2009-01-29 16:01:07 -05:00
main.c mac80211: remove struct ieee80211_if_init_conf 2009-12-28 16:55:07 -05:00
Makefile