diff options
Diffstat (limited to 'drivers/net/wireless/b43/pio.c')
-rw-r--r-- | drivers/net/wireless/b43/pio.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/b43/pio.c b/drivers/net/wireless/b43/pio.c index a73ff8c9deb5..a4ff5e2a42b9 100644 --- a/drivers/net/wireless/b43/pio.c +++ b/drivers/net/wireless/b43/pio.c | |||
@@ -637,7 +637,7 @@ static bool pio_rx_frame(struct b43_pio_rxqueue *q) | |||
637 | 637 | ||
638 | ctl = b43_piorx_read32(q, B43_PIO8_RXCTL); | 638 | ctl = b43_piorx_read32(q, B43_PIO8_RXCTL); |
639 | if (!(ctl & B43_PIO8_RXCTL_FRAMERDY)) | 639 | if (!(ctl & B43_PIO8_RXCTL_FRAMERDY)) |
640 | return 0; | 640 | return false; |
641 | b43_piorx_write32(q, B43_PIO8_RXCTL, | 641 | b43_piorx_write32(q, B43_PIO8_RXCTL, |
642 | B43_PIO8_RXCTL_FRAMERDY); | 642 | B43_PIO8_RXCTL_FRAMERDY); |
643 | for (i = 0; i < 10; i++) { | 643 | for (i = 0; i < 10; i++) { |
@@ -651,7 +651,7 @@ static bool pio_rx_frame(struct b43_pio_rxqueue *q) | |||
651 | 651 | ||
652 | ctl = b43_piorx_read16(q, B43_PIO_RXCTL); | 652 | ctl = b43_piorx_read16(q, B43_PIO_RXCTL); |
653 | if (!(ctl & B43_PIO_RXCTL_FRAMERDY)) | 653 | if (!(ctl & B43_PIO_RXCTL_FRAMERDY)) |
654 | return 0; | 654 | return false; |
655 | b43_piorx_write16(q, B43_PIO_RXCTL, | 655 | b43_piorx_write16(q, B43_PIO_RXCTL, |
656 | B43_PIO_RXCTL_FRAMERDY); | 656 | B43_PIO_RXCTL_FRAMERDY); |
657 | for (i = 0; i < 10; i++) { | 657 | for (i = 0; i < 10; i++) { |
@@ -662,7 +662,7 @@ static bool pio_rx_frame(struct b43_pio_rxqueue *q) | |||
662 | } | 662 | } |
663 | } | 663 | } |
664 | b43dbg(q->dev->wl, "PIO RX timed out\n"); | 664 | b43dbg(q->dev->wl, "PIO RX timed out\n"); |
665 | return 1; | 665 | return true; |
666 | data_ready: | 666 | data_ready: |
667 | 667 | ||
668 | /* Get the preamble (RX header) */ | 668 | /* Get the preamble (RX header) */ |
@@ -759,7 +759,7 @@ data_ready: | |||
759 | 759 | ||
760 | b43_rx(q->dev, skb, rxhdr); | 760 | b43_rx(q->dev, skb, rxhdr); |
761 | 761 | ||
762 | return 1; | 762 | return true; |
763 | 763 | ||
764 | rx_error: | 764 | rx_error: |
765 | if (err_msg) | 765 | if (err_msg) |
@@ -769,7 +769,7 @@ rx_error: | |||
769 | else | 769 | else |
770 | b43_piorx_write16(q, B43_PIO_RXCTL, B43_PIO_RXCTL_DATARDY); | 770 | b43_piorx_write16(q, B43_PIO_RXCTL, B43_PIO_RXCTL_DATARDY); |
771 | 771 | ||
772 | return 1; | 772 | return true; |
773 | } | 773 | } |
774 | 774 | ||
775 | void b43_pio_rx(struct b43_pio_rxqueue *q) | 775 | void b43_pio_rx(struct b43_pio_rxqueue *q) |