Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Mmh refix previous, we also need to make sure frm...
details: https://anonhg.NetBSD.org/src/rev/2f51ebd87023
branches: trunk
changeset: 829083:2f51ebd87023
user: maxv <maxv%NetBSD.org@localhost>
date: Tue Jan 16 14:23:15 2018 +0000
description:
Mmh refix previous, we also need to make sure frm[1] is there.
diffstat:
sys/dev/ic/bwfm.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 98f536de66ab -r 2f51ebd87023 sys/dev/ic/bwfm.c
--- a/sys/dev/ic/bwfm.c Tue Jan 16 14:01:13 2018 +0000
+++ b/sys/dev/ic/bwfm.c Tue Jan 16 14:23:15 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bwfm.c,v 1.8 2018/01/16 13:48:21 maxv Exp $ */
+/* $NetBSD: bwfm.c,v 1.9 2018/01/16 14:23:15 maxv Exp $ */
/* $OpenBSD: bwfm.c,v 1.5 2017/10/16 22:27:16 patrick Exp $ */
/*
* Copyright (c) 2010-2016 Broadcom Corporation
@@ -1729,6 +1729,8 @@
scan.wpa = frm;
break;
}
+ if (frm + 1 >= efrm)
+ break;
}
if (ic->ic_flags & IEEE80211_F_SCAN)
Home |
Main Index |
Thread Index |
Old Index