Commit 9c749e4d authored by Fabien Chouteau's avatar Fabien Chouteau Committed by Michael Tokarev
Browse files

FSL eTSEC: Fix typo in rx ring

parent 379e21c2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -592,7 +592,7 @@ void etsec_walk_rx_ring(eTSEC *etsec, int ring_nbr)

                /* TODO: Broadcast and Multicast */

                if (bd.flags | BD_INTERRUPT) {
                if (bd.flags & BD_INTERRUPT) {
                    /* Set RXFx */
                    etsec->regs[RSTAT].value |= 1 << (7 - ring_nbr);

@@ -601,7 +601,7 @@ void etsec_walk_rx_ring(eTSEC *etsec, int ring_nbr)
                }

            } else {
                if (bd.flags | BD_INTERRUPT) {
                if (bd.flags & BD_INTERRUPT) {
                    /* Set IEVENT */
                    ievent_set(etsec, IEVENT_RXB);
                }