Fix: variable 'key_type' is used uninitialized

This commit is contained in:
Rin Cat 2020-08-02 06:05:09 -04:00
parent b293b4d12e
commit 9366542499
No known key found for this signature in database
GPG Key ID: 7E93675C2BDBB222

View File

@ -5986,7 +5986,7 @@ ssize_t proc_set_tx_deauth(struct file *file, const char __user *buffer, size_t
char tmp[16]; char tmp[16];
u8 mac_addr[NUM_STA][ETH_ALEN]; u8 mac_addr[NUM_STA][ETH_ALEN];
u8 bc_addr[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; u8 bc_addr[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
u32 key_type; u32 key_type = -1;
u8 index; u8 index;