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/15c6d4049a16
branches: trunk
changeset: 375396:15c6d4049a16
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 45bd0edb1722 -r 15c6d4049a16 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 @@ ieee80211_ioctl_set80211(struct ieee8021
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