android_kernel_xiaomi_sm8350/drivers/net/wireless/rtl818x
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
..
Makefile
rtl818x.h
rtl8180_dev.c mac80211: remove struct ieee80211_if_init_conf 2009-12-28 16:55:07 -05:00
rtl8180_grf5101.c
rtl8180_grf5101.h
rtl8180_max2820.c
rtl8180_max2820.h
rtl8180_rtl8225.c
rtl8180_rtl8225.h
rtl8180_sa2400.c
rtl8180_sa2400.h
rtl8180.h rtl8180: remove priv->mode 2009-12-28 16:31:38 -05:00
rtl8187_dev.c mac80211: remove struct ieee80211_if_init_conf 2009-12-28 16:55:07 -05:00
rtl8187_leds.c rtl8187: remove priv->mode 2009-12-28 16:31:38 -05:00
rtl8187_leds.h
rtl8187_rfkill.c
rtl8187_rfkill.h
rtl8187_rtl8225.c
rtl8187_rtl8225.h
rtl8187.h rtl8187: remove priv->mode 2009-12-28 16:31:38 -05:00