Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net80211 Fix return value of ieee80211_ioctl_setoptie
details: https://anonhg.NetBSD.org/src/rev/030809a0b9b2
branches: trunk
changeset: 789918:030809a0b9b2
user: martin <martin%NetBSD.org@localhost>
date: Thu Sep 12 20:44:02 2013 +0000
description:
Fix return value of ieee80211_ioctl_setoptie
diffstat:
sys/net80211/ieee80211_ioctl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a2af9e5d5e24 -r 030809a0b9b2 sys/net80211/ieee80211_ioctl.c
--- a/sys/net80211/ieee80211_ioctl.c Thu Sep 12 20:40:46 2013 +0000
+++ b/sys/net80211/ieee80211_ioctl.c Thu Sep 12 20:44:02 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ieee80211_ioctl.c,v 1.57 2011/12/31 20:41:58 christos Exp $ */
+/* $NetBSD: ieee80211_ioctl.c,v 1.58 2013/09/12 20:44:02 martin 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.57 2011/12/31 20:41:58 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_ioctl.c,v 1.58 2013/09/12 20:44:02 martin Exp $");
#endif
/*
@@ -1615,7 +1615,7 @@
free(ic->ic_opt_ie, M_DEVBUF);
ic->ic_opt_ie = ie;
ic->ic_opt_ie_len = ireq->i_len;
- return 0;
+ return error;
}
static int
Home |
Main Index |
Thread Index |
Old Index