mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 06:37:59 +00:00
b43: dma: Fix use true/false for bool type variable
use true/false for bool type variables assignment. Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
6db774c172
commit
a9160bb35a
1 changed files with 2 additions and 2 deletions
|
@ -1400,7 +1400,7 @@ int b43_dma_tx(struct b43_wldev *dev, struct sk_buff *skb)
|
||||||
/* This TX ring is full. */
|
/* This TX ring is full. */
|
||||||
unsigned int skb_mapping = skb_get_queue_mapping(skb);
|
unsigned int skb_mapping = skb_get_queue_mapping(skb);
|
||||||
ieee80211_stop_queue(dev->wl->hw, skb_mapping);
|
ieee80211_stop_queue(dev->wl->hw, skb_mapping);
|
||||||
dev->wl->tx_queue_stopped[skb_mapping] = 1;
|
dev->wl->tx_queue_stopped[skb_mapping] = true;
|
||||||
ring->stopped = true;
|
ring->stopped = true;
|
||||||
if (b43_debug(dev, B43_DBG_DMAVERBOSE)) {
|
if (b43_debug(dev, B43_DBG_DMAVERBOSE)) {
|
||||||
b43dbg(dev->wl, "Stopped TX ring %d\n", ring->index);
|
b43dbg(dev->wl, "Stopped TX ring %d\n", ring->index);
|
||||||
|
@ -1566,7 +1566,7 @@ void b43_dma_handle_txstatus(struct b43_wldev *dev,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dev->wl->tx_queue_stopped[ring->queue_prio]) {
|
if (dev->wl->tx_queue_stopped[ring->queue_prio]) {
|
||||||
dev->wl->tx_queue_stopped[ring->queue_prio] = 0;
|
dev->wl->tx_queue_stopped[ring->queue_prio] = false;
|
||||||
} else {
|
} else {
|
||||||
/* If the driver queue is running wake the corresponding
|
/* If the driver queue is running wake the corresponding
|
||||||
* mac80211 queue. */
|
* mac80211 queue. */
|
||||||
|
|
Loading…
Add table
Reference in a new issue