mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 19:07:03 +07:00
staging: vt6656: rxtx Replace vnt_tx_fifo_head wReserved
At run time wReserved has the value of wCurrentRate. Replace with current_rate with __le16 base type and endian correct wCurrentRate. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fad8e4aeac
commit
03a9cf3418
@ -800,7 +800,7 @@ static u16 s_vGenerateTxParameter(struct vnt_private *pDevice,
|
||||
u16 wFifoCtl;
|
||||
u8 byFBOption = AUTO_FB_NONE;
|
||||
|
||||
pFifoHead->wReserved = wCurrentRate;
|
||||
pFifoHead->current_rate = cpu_to_le16(wCurrentRate);
|
||||
wFifoCtl = pFifoHead->wFIFOCtl;
|
||||
|
||||
if (wFifoCtl & FIFOCTL_AUTO_FB_0)
|
||||
|
@ -219,7 +219,7 @@ struct vnt_tx_fifo_head {
|
||||
u16 wFIFOCtl;
|
||||
__le16 time_stamp;
|
||||
u16 wFragCtl;
|
||||
u16 wReserved;
|
||||
__le16 current_rate;
|
||||
} __packed;
|
||||
|
||||
struct vnt_tx_buffer {
|
||||
|
Loading…
Reference in New Issue
Block a user