privsep: Coding style cleanup for struct definitions

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2016-12-03 18:05:33 +02:00
parent d3c43e5855
commit 002b504d19

View file

@ -29,8 +29,7 @@ enum privsep_cmd {
PRIVSEP_CMD_AUTHENTICATE, PRIVSEP_CMD_AUTHENTICATE,
}; };
struct privsep_cmd_authenticate struct privsep_cmd_authenticate {
{
int freq; int freq;
u8 bssid[ETH_ALEN]; u8 bssid[ETH_ALEN];
u8 ssid[SSID_MAX_LEN]; u8 ssid[SSID_MAX_LEN];
@ -47,8 +46,7 @@ struct privsep_cmd_authenticate
/* followed by auth_data_len bytes of auth_data */ /* followed by auth_data_len bytes of auth_data */
}; };
struct privsep_cmd_associate struct privsep_cmd_associate {
{
u8 bssid[ETH_ALEN]; u8 bssid[ETH_ALEN];
u8 ssid[SSID_MAX_LEN]; u8 ssid[SSID_MAX_LEN];
size_t ssid_len; size_t ssid_len;
@ -64,8 +62,7 @@ struct privsep_cmd_associate
/* followed by wpa_ie_len bytes of wpa_ie */ /* followed by wpa_ie_len bytes of wpa_ie */
}; };
struct privsep_cmd_set_key struct privsep_cmd_set_key {
{
int alg; int alg;
u8 addr[ETH_ALEN]; u8 addr[ETH_ALEN];
int key_idx; int key_idx;