3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

wiphy: Expose wiphy_select_cipher

This commit is contained in:
Denis Kenzior 2016-05-16 12:21:26 -05:00
parent bcb2ef3e40
commit a9e9be469c
2 changed files with 5 additions and 2 deletions

View File

@ -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;

View File

@ -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);