Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166275
b: refs/heads/master
c: 09ebe2f
h: refs/heads/master
i:
  166273: 9fe39f7
  166271: 06fccff
v: v3
  • Loading branch information
Michael Buesch authored and John W. Linville committed Sep 23, 2009
1 parent db09d3b commit d9eaee8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 990b86f4f9c54f83085d4136498ac44719b17654
refs/heads/master: 09ebe2f94373e95952ed6340b0a5d21739eb99da
14 changes: 14 additions & 0 deletions trunk/drivers/net/wireless/b43/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2675,6 +2675,20 @@ static void b43_adjust_opmode(struct b43_wldev *dev)
cfp_pretbtt = 50;
}
b43_write16(dev, 0x612, cfp_pretbtt);

/* FIXME: We don't currently implement the PMQ mechanism,
* so always disable it. If we want to implement PMQ,
* we need to enable it here (clear DISCPMQ) in AP mode.
*/
if (0 /* ctl & B43_MACCTL_AP */) {
b43_write32(dev, B43_MMIO_MACCTL,
b43_read32(dev, B43_MMIO_MACCTL)
& ~B43_MACCTL_DISCPMQ);
} else {
b43_write32(dev, B43_MMIO_MACCTL,
b43_read32(dev, B43_MMIO_MACCTL)
| B43_MACCTL_DISCPMQ);
}
}

static void b43_rate_memory_write(struct b43_wldev *dev, u16 rate, int is_ofdm)
Expand Down

0 comments on commit d9eaee8

Please sign in to comment.