Commit 842f1d71 authored by Johnny Kim's avatar Johnny Kim Committed by Greg Kroah-Hartman

staging: wilc1000: remove uninitialized warnings

This patch is for the initialization of the local variables.
Signed-off-by: default avatarJohnny Kim <johnny.kim@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8a14330f
...@@ -2778,7 +2778,7 @@ late_initcall(init_wilc_driver); ...@@ -2778,7 +2778,7 @@ late_initcall(init_wilc_driver);
static void __exit exit_wilc_driver(void) static void __exit exit_wilc_driver(void)
{ {
int i = 0; int i = 0;
perInterface_wlan_t *nic[NUM_CONCURRENT_IFC]; perInterface_wlan_t *nic[NUM_CONCURRENT_IFC] = {NULL,};
#define CLOSE_TIMEOUT (12 * 1000) #define CLOSE_TIMEOUT (12 * 1000)
if ((g_linux_wlan != NULL) && (((g_linux_wlan->strInterfaceInfo[0].wilc_netdev) != NULL) if ((g_linux_wlan != NULL) && (((g_linux_wlan->strInterfaceInfo[0].wilc_netdev) != NULL)
......
...@@ -829,9 +829,9 @@ static int WILC_WFI_CfgConnect(struct wiphy *wiphy, struct net_device *dev, ...@@ -829,9 +829,9 @@ static int WILC_WFI_CfgConnect(struct wiphy *wiphy, struct net_device *dev,
WILC_Uint32 i; WILC_Uint32 i;
u8 u8security = NO_ENCRYPT; u8 u8security = NO_ENCRYPT;
AUTHTYPE_T tenuAuth_type = ANY; AUTHTYPE_T tenuAuth_type = ANY;
WILC_Char *pcgroup_encrypt_val; WILC_Char *pcgroup_encrypt_val = NULL;
WILC_Char *pccipher_group; WILC_Char *pccipher_group = NULL;
WILC_Char *pcwpa_version; WILC_Char *pcwpa_version = NULL;
struct WILC_WFI_priv *priv; struct WILC_WFI_priv *priv;
tstrWILC_WFIDrv *pstrWFIDrv; tstrWILC_WFIDrv *pstrWFIDrv;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment