rtwn: fix bitmap size calculation.

Tested with RTL8188CE, STA mode.
This commit is contained in:
Andriy Voskoboinyk 2016-12-03 17:27:10 +00:00
parent 6127805391
commit 4786190d2f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309486

View File

@ -207,8 +207,8 @@ struct rtwn_softc {
int vaps_running;
int monvaps_running;
uint16_t next_rom_addr;
uint8_t keys_bmap[roundup2(RTWN_CAM_ENTRY_LIMIT, NBBY)];
uint16_t next_rom_addr;
uint8_t keys_bmap[howmany(RTWN_CAM_ENTRY_LIMIT, NBBY)];
struct rtwn_vap *vaps[RTWN_PORT_COUNT];
struct ieee80211_node *node_list[RTWN_MACID_LIMIT];