mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-25 09:31:36 +00:00
Fix: variable 'key_type' is used uninitialized
This commit is contained in:
parent
b293b4d12e
commit
9366542499
@ -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;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user