aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/p54common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/p54/p54common.c')
-rw-r--r--drivers/net/wireless/p54/p54common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c
index b3c297ed00cd..f8cdd88e010e 100644
--- a/drivers/net/wireless/p54/p54common.c
+++ b/drivers/net/wireless/p54/p54common.c
@@ -183,7 +183,7 @@ int p54_parse_firmware(struct ieee80211_hw *dev, const struct firmware *fw)
183 priv->headroom = desc->headroom; 183 priv->headroom = desc->headroom;
184 priv->tailroom = desc->tailroom; 184 priv->tailroom = desc->tailroom;
185 if (le32_to_cpu(bootrec->len) == 11) 185 if (le32_to_cpu(bootrec->len) == 11)
186 priv->rx_mtu = le16_to_cpu(bootrec->rx_mtu); 186 priv->rx_mtu = le16_to_cpu(desc->rx_mtu);
187 else 187 else
188 priv->rx_mtu = (size_t) 188 priv->rx_mtu = (size_t)
189 0x620 - priv->tx_hdr_len; 189 0x620 - priv->tx_hdr_len;