Commit 34603829 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

staging: ath6kl: Convert sets of scanSpecificSsid to TRUE/FALSE.

Don't use 0/1 for an A_BOOL.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarVipin Mehta <vipin.mehta@atheros.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5bb5572a
...@@ -2510,14 +2510,14 @@ ar6000_ioctl_siwscan(struct net_device *dev, ...@@ -2510,14 +2510,14 @@ ar6000_ioctl_siwscan(struct net_device *dev,
return -EIO; return -EIO;
if (wmi_probedSsid_cmd(ar->arWmi, 1, SPECIFIC_SSID_FLAG, req.essid_len, req.essid) != A_OK) if (wmi_probedSsid_cmd(ar->arWmi, 1, SPECIFIC_SSID_FLAG, req.essid_len, req.essid) != A_OK)
return -EIO; return -EIO;
ar->scanSpecificSsid = 1; ar->scanSpecificSsid = TRUE;
} }
else else
{ {
if (ar->scanSpecificSsid) { if (ar->scanSpecificSsid) {
if (wmi_probedSsid_cmd(ar->arWmi, 1, DISABLE_SSID_FLAG, 0, NULL) != A_OK) if (wmi_probedSsid_cmd(ar->arWmi, 1, DISABLE_SSID_FLAG, 0, NULL) != A_OK)
return -EIO; return -EIO;
ar->scanSpecificSsid = 0; ar->scanSpecificSsid = FALSE;
} }
} }
} }
...@@ -2526,7 +2526,7 @@ ar6000_ioctl_siwscan(struct net_device *dev, ...@@ -2526,7 +2526,7 @@ ar6000_ioctl_siwscan(struct net_device *dev,
if (ar->scanSpecificSsid) { if (ar->scanSpecificSsid) {
if (wmi_probedSsid_cmd(ar->arWmi, 1, DISABLE_SSID_FLAG, 0, NULL) != A_OK) if (wmi_probedSsid_cmd(ar->arWmi, 1, DISABLE_SSID_FLAG, 0, NULL) != A_OK)
return -EIO; return -EIO;
ar->scanSpecificSsid = 0; ar->scanSpecificSsid = FALSE;
} }
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment