Fix: variables are used uninitialized

This commit is contained in:
Rin Cat 2020-08-02 06:13:22 -04:00
parent 548f9d0683
commit 5a2a7eb70d
No known key found for this signature in database
GPG Key ID: 7E93675C2BDBB222

View File

@ -10191,6 +10191,9 @@ static int issue_action_ba(_adapter *padapter, unsigned char *raddr, unsigned ch
BA_starting_seqctrl = start_seq << 4;
}
else {
break;
}
BA_starting_seqctrl = cpu_to_le16(BA_starting_seqctrl);
pframe = rtw_set_fixed_ie(pframe, 2, (unsigned char *)(&(BA_starting_seqctrl)), &(pattrib->pktlen));
@ -15030,7 +15033,7 @@ operation_by_state:
#ifdef CONFIG_SCAN_BACKOP
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;
#ifdef CONFIG_MCC_MODE