urtwn: fix off-by-one error.

Reported by:	adrian
This commit is contained in:
Andriy Voskoboinyk 2015-12-15 17:59:13 +00:00
parent 6ab6058ec4
commit 64febdf2e2

View file

@ -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;