Print this page
10320 qede_gld.c uses assignment, means equality
*** 1163,1173 ****
ret = qede_set_filter_rx_mode(qede, mode);
}
qede->params.multi_promisc_fl = B_FALSE;
} else {
if ((qede->params.multi_promisc_fl == B_FALSE) &&
! (qede->params.promisc_fl = B_FALSE)) {
ret = qede_set_filter_rx_mode(qede,
QEDE_FILTER_RX_MODE_MULTI_PROMISC);
}
qede->params.multi_promisc_fl = B_TRUE;
qede_info(qede, "mode is MULTI_PROMISC");
--- 1163,1173 ----
ret = qede_set_filter_rx_mode(qede, mode);
}
qede->params.multi_promisc_fl = B_FALSE;
} else {
if ((qede->params.multi_promisc_fl == B_FALSE) &&
! (qede->params.promisc_fl == B_FALSE)) {
ret = qede_set_filter_rx_mode(qede,
QEDE_FILTER_RX_MODE_MULTI_PROMISC);
}
qede->params.multi_promisc_fl = B_TRUE;
qede_info(qede, "mode is MULTI_PROMISC");