diff options
author | onoe <onoe@FreeBSD.org> | 2004-01-22 03:23:28 +0000 |
---|---|---|
committer | onoe <onoe@FreeBSD.org> | 2004-01-22 03:23:28 +0000 |
commit | 3474d78a20f157fc062bf5e4a9d97e1549bd4756 (patch) | |
tree | 3721ab905e1d6ac13132d2f2f194b1c57e51a493 /sys/net/if_media.h | |
parent | c46d660722de95a66d3a3aa25acf3ae9c8d641cf (diff) | |
download | FreeBSD-src-3474d78a20f157fc062bf5e4a9d97e1549bd4756.zip FreeBSD-src-3474d78a20f157fc062bf5e4a9d97e1549bd4756.tar.gz |
Fix definition of IFM_MODE, which should be refrected the change of
IFM_IEEE80211_ mode. Also ifconfig(8) must be recompiled.
Pointed out by Sam Leffeler.
Diffstat (limited to 'sys/net/if_media.h')
-rw-r--r-- | sys/net/if_media.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_media.h b/sys/net/if_media.h index ed74eff..1fbe21b 100644 --- a/sys/net/if_media.h +++ b/sys/net/if_media.h @@ -263,7 +263,7 @@ int ifmedia_ioctl(struct ifnet *ifp, struct ifreq *ifr, #define IFM_TYPE_OPTIONS(x) ((x) & IFM_OMASK) #define IFM_INST(x) (((x) & IFM_IMASK) >> IFM_ISHIFT) #define IFM_OPTIONS(x) ((x) & (IFM_OMASK|IFM_GMASK)) -#define IFM_MODE(x) (((x) & IFM_MMASK) >> IFM_MSHIFT) +#define IFM_MODE(x) ((x) & IFM_MMASK) #define IFM_INST_MAX IFM_INST(IFM_IMASK) |