Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12636551 authored by Yeliz Taneroglu's avatar Yeliz Taneroglu Committed by Greg Kroah-Hartman
Browse files

staging: rtl8712: Fix unnecessary parentheses style warning



This fixes the following checkpatch.pl warning:

drivers/staging/rtl8712/rtl871x_recv.c:634 warning: Unnecessary parentheses - maybe == should be = ?

Signed-off-by: default avatarYeliz Taneroglu <yeliztaneroglu@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 042b623c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -631,7 +631,7 @@ sint r8712_wlanhdr_to_ethhdr(union recv_frame *precvframe)
	rmv_len = pattrib->hdrlen + pattrib->iv_len +
		  (bsnaphdr ? SNAP_SIZE : 0);
	len = precvframe->u.hdr.len - rmv_len;
	if ((check_fwstate(pmlmepriv, WIFI_MP_STATE) == true)) {
	if (check_fwstate(pmlmepriv, WIFI_MP_STATE) == true) {
		ptr += rmv_len;
		*ptr = 0x87;
		*(ptr+1) = 0x12;