diff options
author | Matthew Casey <mdcasey@chabloom.com> | 2014-08-22 06:27:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-30 13:54:03 -0700 |
commit | 3a6b70c3f3558a2e47d2ca82752f0aed0f3c33c6 (patch) | |
tree | eab4f16226009119d0e04eff2da2c13c63dbc7d2 /drivers/staging/rtl8192e/rtllib_tx.c | |
parent | cc3b5de8a84ec39a53d87c30901fa95bd1c8141b (diff) |
staging: rtl8192e: fixed coding style issues
Fixed missing blank line after declarations issues
Signed-off-by: Matthew Casey <mdcasey@chabloom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib_tx.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_tx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_tx.c b/drivers/staging/rtl8192e/rtllib_tx.c index b7dd1539bbc4..41bb8c21144c 100644 --- a/drivers/staging/rtl8192e/rtllib_tx.c +++ b/drivers/staging/rtl8192e/rtllib_tx.c @@ -224,6 +224,7 @@ static struct rtllib_txb *rtllib_alloc_txb(int nr_frags, int txb_size, { struct rtllib_txb *txb; int i; + txb = kmalloc(sizeof(struct rtllib_txb) + (sizeof(u8 *) * nr_frags), gfp_mask); if (!txb) @@ -438,6 +439,7 @@ static void rtllib_query_protectionmode(struct rtllib_device *ieee, return; } else { struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; + while (true) { if (pHTInfo->IOTAction & HT_IOT_ACT_FORCED_CTS2SELF) { tcb_desc->bCTSEnable = true; @@ -458,6 +460,7 @@ static void rtllib_query_protectionmode(struct rtllib_device *ieee, } if (pHTInfo->bCurrentHTSupport && pHTInfo->bEnableHT) { u8 HTOpMode = pHTInfo->CurrentOpMode; + if ((pHTInfo->bCurBW40MHz && (HTOpMode == 2 || HTOpMode == 3)) || (!pHTInfo->bCurBW40MHz && HTOpMode == 3)) { @@ -518,6 +521,7 @@ u16 rtllib_query_seqnum(struct rtllib_device *ieee, struct sk_buff *skb, return 0; if (IsQoSDataFrame(skb->data)) { struct tx_ts_record *pTS = NULL; + if (!GetTs(ieee, (struct ts_common_info **)(&pTS), dst, skb->priority, TX_DIR, true)) return 0; |