Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24729
b: refs/heads/master
c: 49f29ef
h: refs/heads/master
i:
  24727: 1af3ec3
v: v3
  • Loading branch information
Michael Buesch authored and John W. Linville committed Mar 27, 2006
1 parent c1f5ec9 commit 6ed7a59
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e9357c056c5e62516f0044e60591d41f00ca7cfa
refs/heads/master: 49f29efa7f44a79b64c7882c68e171898d0495a0
6 changes: 5 additions & 1 deletion trunk/drivers/net/wireless/bcm43xx/bcm43xx_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,11 @@ static void bcm43xx_destroy_dmaring(struct bcm43xx_dmaring *ring)

void bcm43xx_dma_free(struct bcm43xx_private *bcm)
{
struct bcm43xx_dma *dma = bcm43xx_current_dma(bcm);
struct bcm43xx_dma *dma;

if (bcm43xx_using_pio(bcm))
return;
dma = bcm43xx_current_dma(bcm);

bcm43xx_destroy_dmaring(dma->rx_ring1);
dma->rx_ring1 = NULL;
Expand Down
6 changes: 5 additions & 1 deletion trunk/drivers/net/wireless/bcm43xx/bcm43xx_pio.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,11 @@ static void bcm43xx_destroy_pioqueue(struct bcm43xx_pioqueue *queue)

void bcm43xx_pio_free(struct bcm43xx_private *bcm)
{
struct bcm43xx_pio *pio = bcm43xx_current_pio(bcm);
struct bcm43xx_pio *pio;

if (!bcm43xx_using_pio(bcm))
return;
pio = bcm43xx_current_pio(bcm);

bcm43xx_destroy_pioqueue(pio->queue3);
pio->queue3 = NULL;
Expand Down

0 comments on commit 6ed7a59

Please sign in to comment.