diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2005-10-11 07:30:06 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2005-10-11 07:30:06 +0000 |
| commit | b7d59baad1df63348ca0e49d1ef35de6b41dc1ff (patch) | |
| tree | 20e0f2c884e3fa594d571638c5df3d0d052aacdc /sys/dev/firewire/if_fwe.c | |
| parent | 8eb8e358a03567ea70dd0a464711c278375399a5 (diff) | |
Notes
Diffstat (limited to 'sys/dev/firewire/if_fwe.c')
| -rw-r--r-- | sys/dev/firewire/if_fwe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/firewire/if_fwe.c b/sys/dev/firewire/if_fwe.c index 83c57ac54567..3ca754b980bb 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) { |
