summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-10-11 07:30:06 +0000
committerglebius <glebius@FreeBSD.org>2005-10-11 07:30:06 +0000
commitbbf9b2cc32c19ffb1d671452eef6a604bb80ab49 (patch)
tree20e0f2c884e3fa594d571638c5df3d0d052aacdc /sys
parentbf974ebd04697f06818d87f1eb221687e05cabe3 (diff)
downloadFreeBSD-src-bbf9b2cc32c19ffb1d671452eef6a604bb80ab49.zip
FreeBSD-src-bbf9b2cc32c19ffb1d671452eef6a604bb80ab49.tar.gz
Fix typo.
Submitted by: maxim MFC after: 3 days
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/firewire/if_fwe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/firewire/if_fwe.c b/sys/dev/firewire/if_fwe.c
index 83c57ac..3ca754b 100644
--- a/sys/dev/firewire/if_fwe.c
+++ b/sys/dev/firewire/if_fwe.c
@@ -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) {
OpenPOWER on IntegriCloud