b43: Fix use true/false for bool type variable.
Subsystems (3)
PATCH 1/1 b43: Fix use true/false for bool type variable.
use true/false for bool type variables assignment.
Signed-off-by Saurav Girepunje <[email protected]>
--- drivers/net/wireless/broadcom/b43/dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/broadcom/b43/dma.c +2 -2
@@ -1400,7 +1400,7 @@ int b43_dma_tx(struct b43_wldev *dev, struct sk_buff *skb)/* This TX ring is full. */ unsigned int skb_mapping =skb_get_queue_mapping (skb);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;if (b43_debug (dev,B43_DBG_DMAVERBOSE )) {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]) { - dev->wl->tx_queue_stopped[ring->queue_prio] =0 ; + dev->wl->tx_queue_stopped[ring->queue_prio] = false; }else {/* If the driver queue is running wake the corresponding * mac80211 queue. */
Signature · 1 line
2.20.1
Re: [PATCH] b43: dma: Fix use true/false for bool type variable
Quoted 3 lines · Saurav Girepunje
use true/false for bool type variables assignment.
Signed-off-by Saurav Girepunje <[email protected]>
Patch applied to wireless-drivers-next.git, thanks.
a9160bb35ad9 b43: dma: Fix use true/false for bool type variable
Signature · 3 lines
https://patchwork.kernel.org/patch/11216307/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches