Fix flag check.

The check is meant to return the default value if the flag is false,
but it was returning the default value when the flag is true, and
otherwise not running the test.

Bug: 309033616
Change-Id: I2633d74ec0f97b12922fb8350e9486898f86f40b
Test: atest HotspotNetworkEntryTest
1 file changed