Commit ffc9b275 authored by Jacky Boen's avatar Jacky Boen Committed by Greg Kroah-Hartman

Staging: drivers: rtl8188eu: move constants to the right in comparisons

Fixed coding style issue
Signed-off-by: default avatarJacky Boen <aqiank@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 78481742
......@@ -57,8 +57,8 @@ static bool HalUsbSetQueuePipeMapping8188EUsb(struct adapter *adapt, u8 NumInPip
_ConfigNormalChipOutEP_8188E(adapt, NumOutPipe);
/* Normal chip with one IN and one OUT doesn't have interrupt IN EP. */
if (1 == haldata->OutEpNumber) {
if (1 != NumInPipe)
if (haldata->OutEpNumber == 1) {
if (NumInPipe != 1)
return result;
}
......
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