mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-12-25 09:31:36 +00:00
Fix: variables uninitialized
This commit is contained in:
parent
f3f32eb5f7
commit
16223935bb
@ -7016,7 +7016,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 = 0;
|
||||||
u8 index;
|
u8 index;
|
||||||
|
|
||||||
|
|
||||||
|
@ -10267,7 +10267,7 @@ static int issue_action_ba(_adapter *padapter, unsigned char *raddr, unsigned ch
|
|||||||
u16 start_seq;
|
u16 start_seq;
|
||||||
u16 BA_para_set;
|
u16 BA_para_set;
|
||||||
u16 BA_timeout_value;
|
u16 BA_timeout_value;
|
||||||
u16 BA_starting_seqctrl;
|
u16 BA_starting_seqctrl = 0;
|
||||||
struct xmit_frame *pmgntframe;
|
struct xmit_frame *pmgntframe;
|
||||||
struct pkt_attrib *pattrib;
|
struct pkt_attrib *pattrib;
|
||||||
u8 *pframe;
|
u8 *pframe;
|
||||||
@ -15045,7 +15045,7 @@ operation_by_state:
|
|||||||
|
|
||||||
#ifdef CONFIG_SCAN_BACKOP
|
#ifdef CONFIG_SCAN_BACKOP
|
||||||
case SCAN_BACKING_OP: {
|
case SCAN_BACKING_OP: {
|
||||||
u8 back_ch, back_bw, back_ch_offset;
|
u8 back_ch = 0, back_bw = 0, back_ch_offset = 0;
|
||||||
u8 need_ch_setting_union = _TRUE;
|
u8 need_ch_setting_union = _TRUE;
|
||||||
|
|
||||||
#ifdef CONFIG_MCC_MODE
|
#ifdef CONFIG_MCC_MODE
|
||||||
|
@ -812,7 +812,7 @@ __inline static union recv_frame *rxmem_to_recvframe(u8 *rxmem)
|
|||||||
__inline static union recv_frame *pkt_to_recvframe(_pkt *pkt)
|
__inline static union recv_frame *pkt_to_recvframe(_pkt *pkt)
|
||||||
{
|
{
|
||||||
|
|
||||||
u8 *buf_star;
|
u8 *buf_star = NULL;
|
||||||
union recv_frame *precv_frame;
|
union recv_frame *precv_frame;
|
||||||
precv_frame = rxmem_to_recvframe((unsigned char *)buf_star);
|
precv_frame = rxmem_to_recvframe((unsigned char *)buf_star);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user