staging: ath6kl: Convert A_NETBUF_QUEUE_EMPTY to return TRUE or FALSE
authorJoe Perches <joe@perches.com>
Fri, 28 Jan 2011 04:04:30 +0000 (20:04 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 31 Jan 2011 21:53:14 +0000 (13:53 -0800)
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>
drivers/staging/ath6kl/os/linux/include/osapi_linux.h

index a1dd024040030f9ede59bdfbdd30ec013d30a90f..cdbda890939be255b4ffb522e25482151a8bb5b5 100644 (file)
@@ -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