diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-12-09 15:47:20 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2009-12-09 15:47:20 +0200 |
commit | b5996353e768625539fe4747eafd7943ecfa34c1 (patch) | |
tree | f34896953637145b826e402af83c889e2621e812 /src | |
parent | 2a91091e154e99cb57f16a2f95fc90d9920c2907 (diff) | |
download | external_wpa_supplicant_8_ti-b5996353e768625539fe4747eafd7943ecfa34c1.zip external_wpa_supplicant_8_ti-b5996353e768625539fe4747eafd7943ecfa34c1.tar.gz external_wpa_supplicant_8_ti-b5996353e768625539fe4747eafd7943ecfa34c1.tar.bz2 |
Remove unused if_update() driver op
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/driver.h | 2 | ||||
-rw-r--r-- | src/drivers/driver_ndis.c | 1 | ||||
-rw-r--r-- | src/drivers/driver_nl80211.c | 9 | ||||
-rw-r--r-- | src/drivers/driver_test.c | 9 |
4 files changed, 0 insertions, 21 deletions
diff --git a/src/drivers/driver.h b/src/drivers/driver.h index 0cfafbc..a113064 100644 --- a/src/drivers/driver.h +++ b/src/drivers/driver.h @@ -1123,8 +1123,6 @@ struct wpa_driver_ops { int (*if_add)(const char *iface, void *priv, enum hostapd_driver_if_type type, char *ifname, const u8 *addr); - int (*if_update)(void *priv, enum hostapd_driver_if_type type, - char *ifname, const u8 *addr); int (*if_remove)(void *priv, enum hostapd_driver_if_type type, const char *ifname, const u8 *addr); int (*set_sta_vlan)(void *priv, const u8 *addr, const char *ifname, diff --git a/src/drivers/driver_ndis.c b/src/drivers/driver_ndis.c index b38d9a0..40d6259 100644 --- a/src/drivers/driver_ndis.c +++ b/src/drivers/driver_ndis.c @@ -3239,7 +3239,6 @@ const struct wpa_driver_ops wpa_driver_ndis_ops = { NULL /* bss_remove */, NULL /* valid_bss_mask */, NULL /* if_add */, - NULL /* if_update */, NULL /* if_remove */, NULL /* set_sta_vlan */, NULL /* commit */, diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index fd31bf5..e03ee9f 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -4371,14 +4371,6 @@ static int i802_if_add(const char *iface, void *priv, } -static int i802_if_update(void *priv, enum hostapd_driver_if_type type, - char *ifname, const u8 *addr) -{ - /* unused at the moment */ - return -1; -} - - static int i802_if_remove(void *priv, enum hostapd_driver_if_type type, const char *ifname, const u8 *addr) { @@ -4624,7 +4616,6 @@ const struct wpa_driver_ops wpa_driver_nl80211_ops = { .bss_add = i802_bss_add, .bss_remove = i802_bss_remove, .if_add = i802_if_add, - .if_update = i802_if_update, .if_remove = i802_if_remove, .set_sta_vlan = i802_set_sta_vlan, #endif /* HOSTAPD */ diff --git a/src/drivers/driver_test.c b/src/drivers/driver_test.c index 9dece95..5952421 100644 --- a/src/drivers/driver_test.c +++ b/src/drivers/driver_test.c @@ -1053,14 +1053,6 @@ static int test_driver_if_add(const char *iface, void *priv, } -static int test_driver_if_update(void *priv, enum hostapd_driver_if_type type, - char *ifname, const u8 *addr) -{ - wpa_printf(MSG_DEBUG, "%s(type=%d ifname=%s)", __func__, type, ifname); - return 0; -} - - static int test_driver_if_remove(void *priv, enum hostapd_driver_if_type type, const char *ifname, const u8 *addr) { @@ -2484,7 +2476,6 @@ const struct wpa_driver_ops wpa_driver_test_ops = { .bss_add = test_driver_bss_add, .bss_remove = test_driver_bss_remove, .if_add = test_driver_if_add, - .if_update = test_driver_if_update, .if_remove = test_driver_if_remove, .valid_bss_mask = test_driver_valid_bss_mask, .hapd_set_ssid = test_driver_set_ssid, |