mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +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,
|
||||
uint16_t mask)
|
||||
enum ie_rsn_cipher_suite wiphy_select_cipher(struct wiphy *wiphy, uint16_t mask)
|
||||
{
|
||||
mask &= wiphy->pairwise_ciphers;
|
||||
|
||||
|
@ -24,9 +24,13 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
struct netdev;
|
||||
struct wiphy;
|
||||
|
||||
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_exit(void);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user