net: fix assignment of 0/1 to bool variables.
[deliverable/linux.git] / drivers / net / wireless / b43 / xmit.c
index 5f77cbe0b6aaeb5d6e121ad5e37b70a3b8596d62..2c5367884b3ff0f0a600ba5c6b409b43fabcc349 100644 (file)
@@ -874,7 +874,7 @@ bool b43_fill_txstatus_report(struct b43_wldev *dev,
                              struct ieee80211_tx_info *report,
                              const struct b43_txstatus *status)
 {
-       bool frame_success = 1;
+       bool frame_success = true;
        int retry_limit;
 
        /* preserve the confiured retry limit before clearing the status
@@ -890,7 +890,7 @@ bool b43_fill_txstatus_report(struct b43_wldev *dev,
                /* The frame was not ACKed... */
                if (!(report->flags & IEEE80211_TX_CTL_NO_ACK)) {
                        /* ...but we expected an ACK. */
-                       frame_success = 0;
+                       frame_success = false;
                }
        }
        if (status->frame_count == 0) {
This page took 0.026619 seconds and 5 git commands to generate.