Skip to content

Commit

Permalink
staging: ath6kl: Convert sets of scanSpecificSsid to TRUE/FALSE.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and Greg Kroah-Hartman committed Jan 31, 2011
1 parent 5bb5572 commit 3460382
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/ath6kl/os/linux/wireless_ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
Expand All @@ -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
Expand Down

0 comments on commit 3460382

Please sign in to comment.