svn commit: r292279 - head/sys/dev/usb/wlan

Andriy Voskoboinyk avos at FreeBSD.org
Tue Dec 15 17:59:15 UTC 2015


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;


More information about the svn-src-head mailing list