1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Fix typo.

Submitted by:	maxim
MFC after:	3 days
This commit is contained in:
Gleb Smirnoff 2005-10-11 07:30:06 +00:00
parent 8eb8e358a0
commit b7d59baad1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151229

View File

@ -228,7 +228,7 @@ fwe_attach(device_t dev)
/* Tell the upper layer(s) we support long frames. */
ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header);
#if defined(__FreeBSD__) && __FreeBSD_version >= 500000
ifp->if_capabilities |= IFCAP_VLAN_MTU & IFCAP_POLLING;
ifp->if_capabilities |= IFCAP_VLAN_MTU | IFCAP_POLLING;
ifp->if_capenable |= IFCAP_VLAN_MTU;
#endif
@ -471,7 +471,6 @@ fwe_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
fc->set_intr(fc, 0);
ifp->if_capenable |= IFCAP_POLLING;
return (error);
}
if (!(ifr->ifr_reqcap & IFCAP_POLLING) &&
ifp->if_capenable & IFCAP_POLLING) {