Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2015 17:59:14 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r292279 - head/sys/dev/usb/wlan
Message-ID:  <201512151759.tBFHxEqN028824@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avos
Date: Tue Dec 15 17:59:13 2015
New Revision: 292279
URL: https://svnweb.freebsd.org/changeset/base/292279

Log:
  urtwn: fix off-by-one error.
  
  Reported by:	adrian

Modified:
  head/sys/dev/usb/wlan/if_urtwnvar.h

Modified: head/sys/dev/usb/wlan/if_urtwnvar.h
==============================================================================
--- head/sys/dev/usb/wlan/if_urtwnvar.h	Tue Dec 15 17:58:10 2015	(r292278)
+++ head/sys/dev/usb/wlan/if_urtwnvar.h	Tue Dec 15 17:59:13 2015	(r292279)
@@ -170,7 +170,7 @@ struct urtwn_softc {
 					    int, uint8_t, uint32_t);
 	int				(*sc_power_on)(struct urtwn_softc *);
 
-	struct ieee80211_node		*node_list[R88E_MACID_MAX];
+	struct ieee80211_node		*node_list[R88E_MACID_MAX + 1];
 	struct mtx			nt_mtx;
 
 	uint8_t				board_type;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512151759.tBFHxEqN028824>