Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122007
b: refs/heads/master
c: 1e87d68
h: refs/heads/master
i:
  122005: 2ef91ac
  122003: 14448f3
  121999: 68a2cd6
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Nov 21, 2008
1 parent e0dddaf commit 32e98e8
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 7f3704e992ee4044f8e0068e060458377004473a
refs/heads/master: 1e87d68083cd073c84edb3a71fa4365d7fc092bd
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/b43/xmit.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ static int b43_plcp_get_bitrate_idx_cck(struct b43_plcp_hdr6 *plcp)
case 0x6E:
return 3;
}
B43_WARN_ON(1);
return -1;
}

Expand All @@ -73,7 +72,6 @@ static u8 b43_plcp_get_bitrate_idx_ofdm(struct b43_plcp_hdr6 *plcp, bool aphy)
case 0xC:
return base + 7;
}
B43_WARN_ON(1);
return -1;
}

Expand Down Expand Up @@ -608,6 +606,8 @@ void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr)
phytype == B43_PHYTYPE_A);
else
status.rate_idx = b43_plcp_get_bitrate_idx_cck(plcp);
if (unlikely(status.rate_idx == -1))
goto drop;
status.antenna = !!(phystat0 & B43_RX_PHYST0_ANT);

/*
Expand Down

0 comments on commit 32e98e8

Please sign in to comment.