staging: wilc1000: fix line over 80 chars in wilc_wlan_cfg_get_wid_value()

Fix "line over 80 character" 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-02-16 20:41:45 +05:30 committed by Greg Kroah-Hartman
parent 038a9572c2
commit 9574f38c43
1 changed files with 5 additions and 3 deletions

View File

@ -484,15 +484,17 @@ int wilc_wlan_cfg_get_wid_value(u16 wid, u8 *buffer, u32 buffer_size)
} while (1); } while (1);
} else if (type == CFG_STR_CMD) { } else if (type == CFG_STR_CMD) {
do { do {
if (g_cfg_str[i].id == WID_NIL) u32 id = g_cfg_str[i].id;
if (id == WID_NIL)
break; break;
if (g_cfg_str[i].id == wid) { if (id == wid) {
u32 size = g_cfg_str[i].str[0] | u32 size = g_cfg_str[i].str[0] |
(g_cfg_str[i].str[1] << 8); (g_cfg_str[i].str[1] << 8);
if (buffer_size >= size) { if (buffer_size >= size) {
if (g_cfg_str[i].id == WID_SITE_SURVEY_RESULTS) { if (id == WID_SITE_SURVEY_RESULTS) {
static int toggle; static int toggle;
i += toggle; i += toggle;