p54: allocate enough space for ->used_rxkeys
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 6 May 2017 00:48:35 +0000 (03:48 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 22 May 2017 15:30:09 +0000 (18:30 +0300)
commitc239838fbd6d5aadac193e02d0cf1866238da97b
tree9481b90ef5befa68758cdff9a78799b6255de8c1
parente48d661eb13f2f83861428f001c567fdb3f317e8
p54: allocate enough space for ->used_rxkeys

We have the number of longs, but we should be calculating the number of
bytes needed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intersil/p54/fwio.c