The promiscuous work-around is no longer needed; the MAC address is now set correctly in the filter,
so that we can receive all of our packets. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22816 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e25593c034
commit
f7a7cab9e7
|
@ -2875,8 +2875,7 @@ xl_init_locked(struct xl_softc *sc)
|
|||
rxfilt |= XL_RXFILTER_INDIVIDUAL;
|
||||
|
||||
/* If we want promiscuous mode, set the allframes bit. */
|
||||
// TODO: temporarily set IFF_PROMISC, as the driver doesn't seem to work with the usual filtering
|
||||
if (1/*ifp->if_flags & IFF_PROMISC*/) {
|
||||
if (ifp->if_flags & IFF_PROMISC) {
|
||||
rxfilt |= XL_RXFILTER_ALLFRAMES;
|
||||
CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_RX_SET_FILT|rxfilt);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue