OSDN Git Service

Staging: wilc1000: Assign proper boolean value
authorAbdul Hussain <habdul@visteon.com>
Tue, 16 Jun 2015 09:49:49 +0000 (09:49 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jun 2015 02:23:25 +0000 (19:23 -0700)
This patch assign proper boolean value to boolean variable.

Signed-off-by: Abdul Hussain <habdul@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index 3f139ae..3228824 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