Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net80211 Remove extra OSIOCSIFMEDIA. This old ioctl is c...



details:   https://anonhg.NetBSD.org/src/rev/2e8dbbe3328b
branches:  trunk
changeset: 451343:2e8dbbe3328b
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri May 17 04:08:54 2019 +0000

description:
Remove extra OSIOCSIFMEDIA. This old ioctl is converted to new one in
doifioctl().

diffstat:

 sys/net80211/ieee80211_ioctl.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 576e6e7c7ac5 -r 2e8dbbe3328b sys/net80211/ieee80211_ioctl.c
--- a/sys/net80211/ieee80211_ioctl.c    Fri May 17 03:34:26 2019 +0000
+++ b/sys/net80211/ieee80211_ioctl.c    Fri May 17 04:08:54 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieee80211_ioctl.c,v 1.65 2019/04/11 11:40:58 kamil Exp $       */
+/*     $NetBSD: ieee80211_ioctl.c,v 1.66 2019/05/17 04:08:54 msaitoh Exp $     */
 /*-
  * Copyright (c) 2001 Atsushi Onoe
  * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -36,7 +36,7 @@
 __FBSDID("$FreeBSD: src/sys/net80211/ieee80211_ioctl.c,v 1.35 2005/08/30 14:27:47 avatar Exp $");
 #endif
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_ioctl.c,v 1.65 2019/04/11 11:40:58 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_ioctl.c,v 1.66 2019/05/17 04:08:54 msaitoh Exp $");
 #endif
 
 /*
@@ -2576,9 +2576,6 @@
        u_int8_t tmpkey[IEEE80211_WEP_NKID][IEEE80211_KEYBUF_SIZE];
 
        switch (cmd) {
-#ifdef OSIOCSIFMEDIA
-       case OSIOCSIFMEDIA:
-#endif
        case SIOCSIFMEDIA:
        case SIOCGIFMEDIA:
                error = ifmedia_ioctl(ifp, ifr, &ic->ic_media, cmd);



Home | Main Index | Thread Index | Old Index