Commit b6e24d0e authored by Branden Bonaby's avatar Branden Bonaby Committed by Greg Kroah-Hartman

staging: rtl8712: Remove comparison to true

Remove the comparison to true in the if statement.
CHECK: Using comparison to true is error prone.
Signed-off-by: default avatarBranden Bonaby <brandonbonaby94@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 27903f9f
...@@ -532,7 +532,7 @@ static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz) ...@@ -532,7 +532,7 @@ static void update_txdesc(struct xmit_frame *pxmitframe, uint *pmem, int sz)
(pattrib->dhcp_pkt != 1)) { (pattrib->dhcp_pkt != 1)) {
/*Not EAP & ARP type data packet*/ /*Not EAP & ARP type data packet*/
if (phtpriv->ht_option == 1) { /*B/G/N Mode*/ if (phtpriv->ht_option == 1) { /*B/G/N Mode*/
if (phtpriv->ampdu_enable != true) if (!phtpriv->ampdu_enable)
ptxdesc->txdw2 |= cpu_to_le32(BK); ptxdesc->txdw2 |= cpu_to_le32(BK);
} }
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment