mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
staging: ath6kl: Convert sets of scanSpecificSsid to TRUE/FALSE.
Don't use 0/1 for an A_BOOL. Signed-off-by: Joe Perches <[email protected]> Acked-by: Vipin Mehta <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
1 parent
5bb5572ab6
commit
34603829c4
1 file changed
+3
-3
@@ -2510,14 +2510,14 @@ ar6000_ioctl_siwscan(struct net_device *dev,
|
||||
return -EIO;
|
||||
if (wmi_probedSsid_cmd(ar->arWmi, 1, SPECIFIC_SSID_FLAG, req.essid_len, req.essid) != A_OK)
|
||||
return -EIO;
|
||||
ar->scanSpecificSsid = 1;
|
||||
ar->scanSpecificSsid = TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (ar->scanSpecificSsid) {
|
||||
if (wmi_probedSsid_cmd(ar->arWmi, 1, DISABLE_SSID_FLAG, 0, NULL) != A_OK)
|
||||
return -EIO;
|
||||
ar->scanSpecificSsid = 0;
|
||||
ar->scanSpecificSsid = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2526,7 +2526,7 @@ ar6000_ioctl_siwscan(struct net_device *dev,
|
||||
if (ar->scanSpecificSsid) {
|
||||
if (wmi_probedSsid_cmd(ar->arWmi, 1, DISABLE_SSID_FLAG, 0, NULL) != A_OK)
|
||||
return -EIO;
|
||||
ar->scanSpecificSsid = 0;
|
||||
ar->scanSpecificSsid = FALSE;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user