summaryrefslogtreecommitdiffstats
path: root/sys/dev/re
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2006-11-21 05:41:11 +0000
committeryongari <yongari@FreeBSD.org>2006-11-21 05:41:11 +0000
commit11f03e895e00dd258a15da208b540f48fdcf7cce (patch)
tree9fa31a2bf38fceba5fb2d978b2f05889ea5f847a /sys/dev/re
parent4477c672d70f2a7df21bb179e4c25419993079e7 (diff)
downloadFreeBSD-src-11f03e895e00dd258a15da208b540f48fdcf7cce.zip
FreeBSD-src-11f03e895e00dd258a15da208b540f48fdcf7cce.tar.gz
Fix typo.
Diffstat (limited to 'sys/dev/re')
-rw-r--r--sys/dev/re/if_re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c
index f576632..8303a54 100644
--- a/sys/dev/re/if_re.c
+++ b/sys/dev/re/if_re.c
@@ -2550,7 +2550,7 @@ re_ioctl(ifp, command, data)
if (ifp->if_capenable & IFCAP_TXCSUM)
ifp->if_hwassist |= RE_CSUM_FEATURES;
else
- ifp->if_hwassist = ~RE_CSUM_FEATURES;
+ ifp->if_hwassist &= ~RE_CSUM_FEATURES;
reinit = 1;
}
if (mask & IFCAP_VLAN_HWTAGGING) {
OpenPOWER on IntegriCloud