rtwn: fix bitmap size calculation.
Tested with RTL8188CE, STA mode.
This commit is contained in:
parent
6127805391
commit
4786190d2f
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user