From: Scott Matheina Date: Thu, 12 Jan 2017 03:38:33 +0000 (-0600) Subject: staging:wilc1000:host_interface.c Added braces {} on else statemement X-Git-Tag: v4.14-rc1~1455^2~349 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a8c48a262274dcfd384eba56e6372d368bc5a62;p=platform%2Fkernel%2Flinux-rpi.git staging:wilc1000:host_interface.c Added braces {} on else statemement Fixes checkpatch warning: braces {} should be used on all arms of this statement Signed-off-by: Scott Matheina Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index b00ea75..c307cce 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -3998,8 +3998,9 @@ static void *host_int_ParseJoinBssParam(struct network_info *ptstrNetworkInfo) pNewJoinBssParam->rsn_found = true; index += pu8IEs[index + 1] + 2; continue; - } else + } else { index += pu8IEs[index + 1] + 2; + } } }