Merge driver ops set_wps_beacon_ie and set_wps_probe_resp_ie
authorJouni Malinen <j@w1.fi>
Thu, 24 Dec 2009 17:46:06 +0000 (19:46 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 24 Dec 2009 17:46:06 +0000 (19:46 +0200)
commit14f7938660b1d41dc05ecef44a7dbb56ba34e9ad
tree5ba1e697d073870a6ad426a03d7879bd37749686
parentbf65bc638fe438b96f2986580ad167d5e276ef4c
Merge driver ops set_wps_beacon_ie and set_wps_probe_resp_ie

set_ap_wps_ie() is not used to set WPS IE for both Beacon and Probe
Response frames with a single call. In addition, struct wpabuf is used
instead of separate u8* and length fields. This avoids duplicated
allocation of the IEs and simplifies code in general.
13 files changed:
hostapd/ap_drv_ops.c
hostapd/beacon.c
hostapd/driver_i.h
hostapd/hostapd.h
hostapd/wps_hostapd.c
src/drivers/driver.h
src/drivers/driver_atheros.c
src/drivers/driver_hostap.c
src/drivers/driver_madwifi.c
src/drivers/driver_ndis.c
src/drivers/driver_test.c
src/wps/wps.h
src/wps/wps_registrar.c