net: fix assignment of 0/1 to bool variables.
[deliverable/linux.git] / drivers / net / wireless / libertas_tf / main.c
index acc461aa385e180656cf76a0f6d69990e0b74f6e..a03457292c88c1fd5f96eb4ad5a60df671227d91 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/slab.h>
 
 #include <linux/etherdevice.h>
+#include <linux/module.h>
 #include "libertas_tf.h"
 
 #define DRIVER_RELEASE_VERSION "004.p0"
@@ -718,11 +719,11 @@ void lbtf_bcn_sent(struct lbtf_private *priv)
                return;
 
        if (skb_queue_empty(&priv->bc_ps_buf)) {
-               bool tx_buff_bc = 0;
+               bool tx_buff_bc = false;
 
                while ((skb = ieee80211_get_buffered_bc(priv->hw, priv->vif))) {
                        skb_queue_tail(&priv->bc_ps_buf, skb);
-                       tx_buff_bc = 1;
+                       tx_buff_bc = true;
                }
                if (tx_buff_bc) {
                        ieee80211_stop_queues(priv->hw);
This page took 0.02571 seconds and 5 git commands to generate.