summaryrefslogtreecommitdiff
path: root/drivers/staging/ath6kl/os
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-01-27 20:04:30 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-01-31 13:53:14 -0800
commit5bb5572ab6cee2887d87ce1de433a44bba15a998 (patch)
treea872a1bff720063c363b2ed5dc4262c59a06348d /drivers/staging/ath6kl/os
parentebb8e4909860474060ff7fcdcfd05f183f0f3568 (diff)
staging: ath6kl: Convert A_NETBUF_QUEUE_EMPTY to return TRUE or FALSE
Make the return an A_BOOL not int. 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 'drivers/staging/ath6kl/os')
-rw-r--r--drivers/staging/ath6kl/os/linux/include/osapi_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ath6kl/os/linux/include/osapi_linux.h b/drivers/staging/ath6kl/os/linux/include/osapi_linux.h
index a1dd02404003..cdbda890939b 100644
--- a/drivers/staging/ath6kl/os/linux/include/osapi_linux.h
+++ b/drivers/staging/ath6kl/os/linux/include/osapi_linux.h
@@ -247,7 +247,7 @@ typedef struct sk_buff_head A_NETBUF_QUEUE_T;
#define A_NETBUF_QUEUE_SIZE(q) \
a_netbuf_queue_size(q)
#define A_NETBUF_QUEUE_EMPTY(q) \
- a_netbuf_queue_empty(q)
+ (a_netbuf_queue_empty(q) ? TRUE : FALSE)
/*
* Network buffer support