Commit 826ee706 authored by Gábor Stefanik's avatar Gábor Stefanik Committed by John W. Linville

b43: Handle B43_PHYTYPE_LP in RX path

Don't drop all packets received from an LP-PHY with WARN_ON.
Also update a comment with LP-specific information.
Signed-off-by: default avatarGábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 1245684c
...@@ -628,7 +628,7 @@ void b43_wa_all(struct b43_wldev *dev) ...@@ -628,7 +628,7 @@ void b43_wa_all(struct b43_wldev *dev)
B43_WARN_ON(1); B43_WARN_ON(1);
} }
b43_wa_boards_g(dev); b43_wa_boards_g(dev);
} else { /* No N PHY support so far */ } else { /* No N PHY support so far, LP PHY is in phy_lp.c */
B43_WARN_ON(1); B43_WARN_ON(1);
} }
......
...@@ -655,6 +655,7 @@ void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr) ...@@ -655,6 +655,7 @@ void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr)
status.freq = chanid + 2400; status.freq = chanid + 2400;
break; break;
case B43_PHYTYPE_N: case B43_PHYTYPE_N:
case B43_PHYTYPE_LP:
/* chanid is the SHM channel cookie. Which is the plain /* chanid is the SHM channel cookie. Which is the plain
* channel number in b43. */ * channel number in b43. */
if (chanstat & B43_RX_CHAN_5GHZ) { if (chanstat & B43_RX_CHAN_5GHZ) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment