diff options
| author | Joe Perches <joe@perches.com> | 2011-01-27 20:04:25 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-01-31 13:53:12 -0800 |
| commit | 807208fe775e3c41776007544bc7d4f7e5d2ef25 (patch) | |
| tree | ee0570a0fcee9545acc843ebb4ad34eae881d055 /include/linux/memory_hotplug.h | |
| parent | 879cf160ed0494ea1ffa8959c388d3aa391f3be2 (diff) | |
staging: ath6kl: Convert BDADDR_Present uses to TRUE/FALSE bugfix
The previous uses of BDADDR_Present set the initial value to
A_ERROR (-1) when not present and A_OK (0) when present.
A later test for (!BDADDR_Present) was therefore logically inverted.
Convert the values to TRUE/FALSE and the test is now logically correct.
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>
Diffstat (limited to 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions
