staging: wilc1000: allocate less memory
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 3 May 2018 10:56:55 +0000 (13:56 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2018 20:55:51 +0000 (13:55 -0700)
commitba36d10ed146c8f997d61a9eefc1a3319ef6a44f
tree8e0da87c402659ea89dc569ca94f644fc7586d2b
parentbec09bced110a0272292d0088194367d2767e0b3
staging: wilc1000: allocate less memory

We should be allocating space for hidden_network_info structs.  They are
slightly smaller than hidden_network structs.  This bug doesn't cause a
runtime issue beyond the very small ammount of extra memory used.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c