netdev: make vendor_ies const on netdev_connect()

This commit is contained in:
James Prestwood 2019-09-06 11:11:05 -07:00 committed by Denis Kenzior
parent af46cc0ed2
commit 689fd7b92b
2 changed files with 3 additions and 3 deletions

View File

@ -2223,7 +2223,7 @@ static struct l_genl_msg *netdev_build_cmd_connect(struct netdev *netdev,
struct scan_bss *bss,
struct handshake_state *hs,
const uint8_t *prev_bssid,
struct iovec *vendor_ies,
const struct iovec *vendor_ies,
size_t num_vendor_ies)
{
uint32_t auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM;
@ -2386,7 +2386,7 @@ static int netdev_connect_common(struct netdev *netdev,
int netdev_connect(struct netdev *netdev, struct scan_bss *bss,
struct handshake_state *hs,
struct iovec *vendor_ies,
const struct iovec *vendor_ies,
size_t num_vendor_ies,
netdev_event_func_t event_filter,
netdev_connect_cb_t cb, void *user_data)

View File

@ -146,7 +146,7 @@ struct handshake_state *netdev_get_handshake(struct netdev *netdev);
int netdev_connect(struct netdev *netdev, struct scan_bss *bss,
struct handshake_state *hs,
struct iovec *vendor_ies,
const struct iovec *vendor_ies,
size_t num_vendor_ies,
netdev_event_func_t event_filter,
netdev_connect_cb_t cb, void *user_data);