From: Glen Lee <[email protected]> This patch uses netdev private data member wilc instead of global variabl wl.
Signed-off-by: Glen Lee <[email protected]> Signed-off-by: Tony Cho <[email protected]> --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
