From: Glen Lee <glen....@atmel.com> This patch uses netdev private data member wilc instead of global variabl wl.
Signed-off-by: Glen Lee <glen....@atmel.com> Signed-off-by: Tony Cho <tony....@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index 90c39b6..f79160c 100644 --- a/drivers/staging/wilc1000/linux_wlan.c +++ b/drivers/staging/wilc1000/linux_wlan.c @@ -1025,6 +1025,7 @@ int wilc1000_wlan_init(struct net_device *dev, perInterface_wlan_t *p_nic) { wilc_wlan_inp_t nwi; perInterface_wlan_t *nic = p_nic; + struct wilc *wl = nic->wilc; int ret = 0; if (!wl->initialized) { -- 1.9.1 _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel