mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-23 06:02:37 +01:00
wiphy: Expose wiphy_select_cipher
This commit is contained in:
parent
bcb2ef3e40
commit
a9e9be469c
@ -244,8 +244,7 @@ static void genl_connect_cb(struct l_genl_msg *msg, void *user_data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static enum ie_rsn_cipher_suite wiphy_select_cipher(struct wiphy *wiphy,
|
enum ie_rsn_cipher_suite wiphy_select_cipher(struct wiphy *wiphy, uint16_t mask)
|
||||||
uint16_t mask)
|
|
||||||
{
|
{
|
||||||
mask &= wiphy->pairwise_ciphers;
|
mask &= wiphy->pairwise_ciphers;
|
||||||
|
|
||||||
|
@ -24,9 +24,13 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
struct netdev;
|
struct netdev;
|
||||||
|
struct wiphy;
|
||||||
|
|
||||||
typedef void (*iwd_device_foreach_func)(struct netdev *, void *data);
|
typedef void (*iwd_device_foreach_func)(struct netdev *, void *data);
|
||||||
|
|
||||||
|
enum ie_rsn_cipher_suite wiphy_select_cipher(struct wiphy *wiphy,
|
||||||
|
uint16_t mask);
|
||||||
|
|
||||||
bool wiphy_init(struct l_genl_family *in);
|
bool wiphy_init(struct l_genl_family *in);
|
||||||
bool wiphy_exit(void);
|
bool wiphy_exit(void);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user