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/db1242881540
branches:  trunk
changeset: 985917:db1242881540
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 603a4d6f864a -r db1242881540 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
@@ -3641,11 +3641,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