diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-04-17 11:55:51 +0300 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2009-04-17 11:55:51 +0300 |
commit | 412036f5f07be13633db4aec396373377c933f33 (patch) | |
tree | 60b33185cb32eb6a1e012a1a7223018e5a28bcfa /hostapd/driver_i.h | |
parent | 731723a5bd3e899173e88732a4ca843d536cc8c4 (diff) | |
download | external_wpa_supplicant_8_ti-412036f5f07be13633db4aec396373377c933f33.zip external_wpa_supplicant_8_ti-412036f5f07be13633db4aec396373377c933f33.tar.gz external_wpa_supplicant_8_ti-412036f5f07be13633db4aec396373377c933f33.tar.bz2 |
Provide own_addr buffer in hapd_init() parameters
This reduces number of places in driver wrapper that would need to
dereference struct hostapd_data pointer directly.
Diffstat (limited to 'hostapd/driver_i.h')
-rw-r--r-- | hostapd/driver_i.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hostapd/driver_i.h b/hostapd/driver_i.h index dc2ea2b..3fe0594 100644 --- a/hostapd/driver_i.h +++ b/hostapd/driver_i.h @@ -46,6 +46,9 @@ hostapd_driver_init(struct hostapd_data *hapd, const u8 *bssid) if (bss->conf->bridge[0]) params.bridge[i] = bss->conf->bridge; } + + params.own_addr = hapd->own_addr; + ret = hapd->driver->hapd_init(hapd, ¶ms); os_free(params.bridge); |