From 93665424996109d0c9d7701c4ea2fbe1ab753280 Mon Sep 17 00:00:00 2001 From: Rin Cat Date: Sun, 2 Aug 2020 06:05:09 -0400 Subject: [PATCH] Fix: variable 'key_type' is used uninitialized --- core/rtw_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rtw_debug.c b/core/rtw_debug.c index 8874ef5..963820c 100644 --- a/core/rtw_debug.c +++ b/core/rtw_debug.c @@ -5986,7 +5986,7 @@ ssize_t proc_set_tx_deauth(struct file *file, const char __user *buffer, size_t char tmp[16]; u8 mac_addr[NUM_STA][ETH_ALEN]; u8 bc_addr[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; - u32 key_type; + u32 key_type = -1; u8 index;