|
|
@@ -2154,7 +2154,7 @@ void ieee80211_softmac_xmit(struct ieee80211_txb *txb, struct ieee80211_device *
|
|
|
ieee80211_sta_wakeup(ieee, 0);
|
|
|
|
|
|
/* update the tx status */
|
|
|
- ieee->stats.tx_bytes += txb->payload_size;
|
|
|
+ ieee->stats.tx_bytes += le16_to_cpu(txb->payload_size);
|
|
|
ieee->stats.tx_packets++;
|
|
|
tcb_desc = (cb_desc *)(txb->fragments[0]->cb + MAX_DEV_ADDR_SIZE);
|
|
|
if (tcb_desc->bMulticast) {
|