staging: wilc1000: fix line over 80 char in host_int_parse_join_bss_param()

Fix 'line over 80 characters' issue found by checkpatch.pl script.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ajay Singh 2018-03-02 19:52:42 +05:30 committed by Greg Kroah-Hartman
parent 4262d2fc07
commit 172148b8ba
1 changed files with 113 additions and 113 deletions

View File

@ -3904,13 +3904,14 @@ static void *host_int_parse_join_bss_param(struct network_info *info)
ies_len = info->ies_len;
param = kzalloc(sizeof(*param), GFP_KERNEL);
if (param) {
if (!param)
return NULL;
param->dtim_period = info->dtim_period;
param->beacon_period = info->beacon_period;
param->cap_info = info->cap_info;
memcpy(param->bssid, info->bssid, 6);
memcpy((u8 *)param->ssid, info->ssid,
info->ssid_len + 1);
memcpy((u8 *)param->ssid, info->ssid, info->ssid_len + 1);
param->ssid_len = info->ssid_len;
memset(param->rsn_pcip_policy, 0xFF, 3);
memset(param->rsn_auth_policy, 0xFF, 3);
@ -4028,7 +4029,6 @@ static void *host_int_parse_join_bss_param(struct network_info *info)
index += ies[index + 1] + 2;
}
}
}
return (void *)param;
}