mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-10 08:07:05 +00:00
Fix used before initialized warning
This commit is contained in:
parent
3fcba157f9
commit
54710f5403
@ -6942,7 +6942,7 @@ out:
|
||||
static int rtw_set_encryption(struct net_device *dev, struct ieee_param *param, u32 param_len)
|
||||
{
|
||||
int ret = 0;
|
||||
u32 wep_key_idx, wep_key_len, wep_total_len;
|
||||
u32 wep_key_idx, wep_key_len, wep_total_len = 0;
|
||||
NDIS_802_11_WEP *pwep = NULL;
|
||||
struct sta_info *psta = NULL, *pbcmc_sta = NULL;
|
||||
_adapter *padapter = (_adapter *)rtw_netdev_priv(dev);
|
||||
|
Loading…
Reference in New Issue
Block a user