Commit 19a0a7fd authored by Taku Izumi's avatar Taku Izumi Committed by David S. Miller

fjes: fix bitwise check bug in fjes_raise_intr_rxdata_task

In fjes_raise_intr_rxdata_task(), there's a bug of bitwise
check because of missing "& FJES_RX_POLL_WORK".
This patch fixes this bug.
Signed-off-by: default avatarTaku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3c3bd4a9
...@@ -549,7 +549,8 @@ static void fjes_raise_intr_rxdata_task(struct work_struct *work) ...@@ -549,7 +549,8 @@ static void fjes_raise_intr_rxdata_task(struct work_struct *work)
if ((hw->ep_shm_info[epid].tx_status_work == if ((hw->ep_shm_info[epid].tx_status_work ==
FJES_TX_DELAY_SEND_PENDING) && FJES_TX_DELAY_SEND_PENDING) &&
(pstatus == EP_PARTNER_SHARED) && (pstatus == EP_PARTNER_SHARED) &&
!(hw->ep_shm_info[epid].rx.info->v1i.rx_status)) { !(hw->ep_shm_info[epid].rx.info->v1i.rx_status &
FJES_RX_POLL_WORK)) {
fjes_hw_raise_interrupt(hw, epid, fjes_hw_raise_interrupt(hw, epid,
REG_ICTL_MASK_RX_DATA); REG_ICTL_MASK_RX_DATA);
} }
......
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