2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00

staging: wilc1000: added 'wilc_' prefix for 'struct assoc_resp' name

Use 'wilc_' prefix for 'assoc_resp' struct to have proper naming
convention.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Link: https://lore.kernel.org/r/20200117160157.8706-4-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ajay Singh 2020-01-17 10:31:26 +00:00 committed by Greg Kroah-Hartman
parent c5295d1a41
commit 1d58fec42f
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
#define WILC_MAX_NUM_PMKIDS 16 #define WILC_MAX_NUM_PMKIDS 16
#define WILC_MAX_NUM_SCANNED_CH 14 #define WILC_MAX_NUM_SCANNED_CH 14
struct assoc_resp { struct wilc_assoc_resp {
__le16 capab_info; __le16 capab_info;
__le16 status_code; __le16 status_code;
__le16 aid; __le16 aid;

View File

@ -552,7 +552,7 @@ static s32 wilc_parse_assoc_resp_info(u8 *buffer, u32 buffer_len,
{ {
u8 *ies; u8 *ies;
u16 ies_len; u16 ies_len;
struct assoc_resp *res = (struct assoc_resp *)buffer; struct wilc_assoc_resp *res = (struct wilc_assoc_resp *)buffer;
ret_conn_info->status = le16_to_cpu(res->status_code); ret_conn_info->status = le16_to_cpu(res->status_code);
if (ret_conn_info->status == WLAN_STATUS_SUCCESS) { if (ret_conn_info->status == WLAN_STATUS_SUCCESS) {