Commit 4175971d authored by Chang Yu's avatar Chang Yu Committed by Greg Kroah-Hartman
Browse files

Staging: r8188eu: core: rtw_xmit: Fixed a coding style issue



Moved the constant ETH_P_IP to the right hand side of the comparison as
per checkpatch.pl

Signed-off-by: default avatarChang Yu <marcus.yu.56@gmail.com>
Link: https://lore.kernel.org/r/e938a8ac0ff3a9d777754a081c7a08026aaae253.1655666628.git.marcus.yu.56@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 34a033fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -442,7 +442,7 @@ static s32 update_attrib(struct adapter *padapter, struct sk_buff *pkt, struct p


	pattrib->pktlen = pktfile.pkt_len;
	pattrib->pktlen = pktfile.pkt_len;


	if (ETH_P_IP == pattrib->ether_type) {
	if (pattrib->ether_type == ETH_P_IP) {
		/*  The following is for DHCP and ARP packet, we use cck1M to tx these packets and let LPS awake some time */
		/*  The following is for DHCP and ARP packet, we use cck1M to tx these packets and let LPS awake some time */
		/*  to prevent DHCP protocol fail */
		/*  to prevent DHCP protocol fail */
		u8 tmp[24];
		u8 tmp[24];