Explorar o código

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 <scott@matheina.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Scott Matheina %!s(int64=8) %!d(string=hai) anos
pai
achega
7a8c48a262
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      drivers/staging/wilc1000/host_interface.c

+ 2 - 1
drivers/staging/wilc1000/host_interface.c

@@ -3998,8 +3998,9 @@ static void *host_int_ParseJoinBssParam(struct network_info *ptstrNetworkInfo)
 				pNewJoinBssParam->rsn_found = true;
 				pNewJoinBssParam->rsn_found = true;
 				index += pu8IEs[index + 1] + 2;
 				index += pu8IEs[index + 1] + 2;
 				continue;
 				continue;
-			} else
+			} else {
 				index += pu8IEs[index + 1] + 2;
 				index += pu8IEs[index + 1] + 2;
+			}
 		}
 		}
 	}
 	}