Source-Changes-HG archive

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

[src-draft/trunk]: src/sys/net80211 Pass the error through to the hardware to...



details:   https://anonhg.NetBSD.org/src-all/rev/8757af062901
branches:  trunk
changeset: 364740:8757af062901
user:      nat <nat%NetBSD.org@localhost>
date:      Mon Apr 27 07:45:57 2020 +0000

description:
Pass the error through to the hardware to initialize.

diffstat:

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

diffs (16 lines):

diff -r df36ebc51cf9 -r 8757af062901 sys/net80211/ieee80211_ioctl.c
--- a/sys/net80211/ieee80211_ioctl.c    Sun Apr 26 13:13:40 2020 +0200
+++ b/sys/net80211/ieee80211_ioctl.c    Mon Apr 27 07:45:57 2020 +0000
@@ -3640,11 +3640,11 @@
                if (IS_UP_AUTO(vap))
 #if __FreeBSD__
                        ieee80211_init(vap);
+               error = 0;
 #elif __NetBSD__
                        /* arg is a vap in 802.11 code */ 
                        ieee80211_init((struct ifnet *)vap);
 #endif
-               error = 0;
        }
        return error;
 }



Home | Main Index | Thread Index | Old Index