summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-01-27 20:04:31 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-01-31 13:53:14 -0800
commit34603829c46d3c23fac99b0d5528878602a81862 (patch)
tree008fc78f1cf52380c20baee5a5f1266aab0eb4c5
parent5bb5572ab6cee2887d87ce1de433a44bba15a998 (diff)
staging: ath6kl: Convert sets of scanSpecificSsid to TRUE/FALSE.
Don't use 0/1 for an A_BOOL. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Vipin Mehta <vipin.mehta@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/ath6kl/os/linux/wireless_ext.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/ath6kl/os/linux/wireless_ext.c b/drivers/staging/ath6kl/os/linux/wireless_ext.c
index dc32e2d4bb0..ea933d0d939 100644
--- a/drivers/staging/ath6kl/os/linux/wireless_ext.c
+++ b/drivers/staging/ath6kl/os/linux/wireless_ext.c
@@ -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