staging: wilc1000: change vif to pointer to refence real private data
authorGlen Lee <glen.lee@atmel.com>
Mon, 21 Dec 2015 05:18:37 +0000 (14:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:21:09 +0000 (13:21 -0800)
commit1f435d2ef4cdb9c451f768d6c2e827351a55c64b
tree4de218b62103f24aae995d8fd62a887349b769ef
parenta4cac4810104b010572ebcb7de419effef3ff33b
staging: wilc1000: change vif to pointer to refence real private data

vif of struct has it's own memory which is not necessary because we have
allocated vif from netdev_priv.
Change vif to pointer type and assign vif which is netdev private data.
Change it's operator on related codes as well.

Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h