From: Jouni Malinen Date: Sat, 3 Dec 2016 16:05:33 +0000 (+0200) Subject: privsep: Coding style cleanup for struct definitions X-Git-Tag: hostap_2_7~2079 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=002b504d19a90ddb0dda751ffd80a44a89ea880b;p=thirdparty%2Fhostap.git privsep: Coding style cleanup for struct definitions Signed-off-by: Jouni Malinen --- diff --git a/src/common/privsep_commands.h b/src/common/privsep_commands.h index f017f08e7..68656dc02 100644 --- a/src/common/privsep_commands.h +++ b/src/common/privsep_commands.h @@ -29,8 +29,7 @@ enum privsep_cmd { PRIVSEP_CMD_AUTHENTICATE, }; -struct privsep_cmd_authenticate -{ +struct privsep_cmd_authenticate { int freq; u8 bssid[ETH_ALEN]; u8 ssid[SSID_MAX_LEN]; @@ -47,8 +46,7 @@ struct privsep_cmd_authenticate /* followed by auth_data_len bytes of auth_data */ }; -struct privsep_cmd_associate -{ +struct privsep_cmd_associate { u8 bssid[ETH_ALEN]; u8 ssid[SSID_MAX_LEN]; size_t ssid_len; @@ -64,8 +62,7 @@ struct privsep_cmd_associate /* followed by wpa_ie_len bytes of wpa_ie */ }; -struct privsep_cmd_set_key -{ +struct privsep_cmd_set_key { int alg; u8 addr[ETH_ALEN]; int key_idx;