Staging: wilc1000: Assign proper boolean value
[linux-2.6-block.git] / drivers / staging / wilc1000 / host_interface.c
index 3f139aebe9f83ed7362b9248fe7f4ecc5df8b83d..3228824697f9fb911b166b2088ca84ae43c249ca 100644 (file)
@@ -7814,7 +7814,7 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo)
                                        pNewJoinBssParam->rsn_cap[1] = pu8IEs[rsnIndex + 1];
                                        rsnIndex += 2;
                                }
-                               pNewJoinBssParam->rsn_found = 1;
+                               pNewJoinBssParam->rsn_found = true;
                                index += pu8IEs[index + 1] + 2; /* ID,Length bytes and IE body */
                                continue;
                        } else