Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121578
b: refs/heads/master
c: 2e20cc3
h: refs/heads/master
v: v3
  • Loading branch information
Larry Finger authored and John W. Linville committed Oct 31, 2008
1 parent 4800a33 commit a9b3529
Show file tree
Hide file tree
Showing 3 changed files with 4 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: 78236571a538860dc2f0842ff6c7789522eb1e63
refs/heads/master: 2e20cc3986cbee410fbe8e3e116bdcb12d70fcce
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/p54/p54common.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ int p54_parse_firmware(struct ieee80211_hw *dev, const struct firmware *fw)
priv->headroom = desc->headroom;
priv->tailroom = desc->tailroom;
if (le32_to_cpu(bootrec->len) == 11)
priv->rx_mtu = le16_to_cpu(bootrec->rx_mtu);
priv->rx_mtu = le16_to_cpu(desc->rx_mtu);
else
priv->rx_mtu = (size_t)
0x620 - priv->tx_hdr_len;
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/net/wireless/p54/p54common.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ struct bootrec {
__le32 code;
__le32 len;
u32 data[10];
__le16 rx_mtu;
} __attribute__((packed));

struct bootrec_exp_if {
Expand All @@ -39,6 +38,8 @@ struct bootrec_desc {
u8 tailroom;
u8 unimportant[6];
u8 rates[16];
u8 padding2[4];
__le16 rx_mtu;
} __attribute__((packed));

#define BR_CODE_MIN 0x80000000
Expand Down

0 comments on commit a9b3529

Please sign in to comment.