2 * hostapd - Driver operations
3 * Copyright (c) 2009, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
22 static int hostapd_set_ap_wps_ie(struct hostapd_data *hapd,
23 const u8 *beacon_ie, size_t beacon_ie_len,
24 const u8 *probe_resp_ie,
25 size_t probe_resp_ie_len)
27 if (hostapd_set_wps_beacon_ie(hapd, hapd->wps_beacon_ie,
28 hapd->wps_beacon_ie_len) < 0 ||
29 hostapd_set_wps_probe_resp_ie(hapd, hapd->wps_probe_resp_ie,
30 hapd->wps_probe_resp_ie_len) < 0)
36 void hostapd_set_driver_ops(struct hostapd_driver_ops *ops)
38 ops->set_ap_wps_ie = hostapd_set_ap_wps_ie;