mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 10:32:33 +01:00
netdev: make vendor_ies const on netdev_connect()
This commit is contained in:
parent
af46cc0ed2
commit
689fd7b92b
@ -2223,7 +2223,7 @@ static struct l_genl_msg *netdev_build_cmd_connect(struct netdev *netdev,
|
|||||||
struct scan_bss *bss,
|
struct scan_bss *bss,
|
||||||
struct handshake_state *hs,
|
struct handshake_state *hs,
|
||||||
const uint8_t *prev_bssid,
|
const uint8_t *prev_bssid,
|
||||||
struct iovec *vendor_ies,
|
const struct iovec *vendor_ies,
|
||||||
size_t num_vendor_ies)
|
size_t num_vendor_ies)
|
||||||
{
|
{
|
||||||
uint32_t auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM;
|
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,
|
int netdev_connect(struct netdev *netdev, struct scan_bss *bss,
|
||||||
struct handshake_state *hs,
|
struct handshake_state *hs,
|
||||||
struct iovec *vendor_ies,
|
const struct iovec *vendor_ies,
|
||||||
size_t num_vendor_ies,
|
size_t num_vendor_ies,
|
||||||
netdev_event_func_t event_filter,
|
netdev_event_func_t event_filter,
|
||||||
netdev_connect_cb_t cb, void *user_data)
|
netdev_connect_cb_t cb, void *user_data)
|
||||||
|
@ -146,7 +146,7 @@ struct handshake_state *netdev_get_handshake(struct netdev *netdev);
|
|||||||
|
|
||||||
int netdev_connect(struct netdev *netdev, struct scan_bss *bss,
|
int netdev_connect(struct netdev *netdev, struct scan_bss *bss,
|
||||||
struct handshake_state *hs,
|
struct handshake_state *hs,
|
||||||
struct iovec *vendor_ies,
|
const struct iovec *vendor_ies,
|
||||||
size_t num_vendor_ies,
|
size_t num_vendor_ies,
|
||||||
netdev_event_func_t event_filter,
|
netdev_event_func_t event_filter,
|
||||||
netdev_connect_cb_t cb, void *user_data);
|
netdev_connect_cb_t cb, void *user_data);
|
||||||
|
Loading…
Reference in New Issue
Block a user