From 4e0ca7c8e16ae4f251c32261de7faa7ad61e92ec Mon Sep 17 00:00:00 2001 From: astsam Date: Fri, 17 Mar 2017 21:53:44 +0300 Subject: [PATCH] Fix compilation error --- hal/rtl8814a/usb/rtl8814au_xmit.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hal/rtl8814a/usb/rtl8814au_xmit.c b/hal/rtl8814a/usb/rtl8814au_xmit.c index aa19911..ba53693 100644 --- a/hal/rtl8814a/usb/rtl8814au_xmit.c +++ b/hal/rtl8814a/usb/rtl8814au_xmit.c @@ -330,10 +330,11 @@ static s32 update_txdesc(struct xmit_frame *pxmitframe, u8 *pmem, s32 sz ,u8 bag } SET_TX_DESC_USE_RATE_8814A(ptxdesc, 1); SET_TX_DESC_TX_RATE_8814A(ptxdesc, MRateToHwRate(pattrib->rate)); - if (pattrib->ldpc) + if (pattrib->ldpc) { SET_TX_DESC_DATA_LDPC_8814A(ptxdesc, 1); - else + } else { SET_TX_DESC_DATA_LDPC_8814A(ptxdesc, 0); + } SET_TX_DESC_DATA_STBC_8814A(ptxdesc, pattrib->stbc & 3); SET_TX_DESC_DATA_BW_8814A(ptxdesc, pattrib->bwmode); // 0 - 20 MHz, 1 - 40 MHz, 2 - 80 MHz }