mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
staging: rtl8723au: issue_beacon23a(): Fix another case issuing a corrupted beacon
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2131891c6a
commit
89060370db
|
|
@ -2420,6 +2420,7 @@ void issue_beacon23a(struct rtw_adapter *padapter, int timeout_ms)
|
|||
if ((pmlmeinfo->state & 0x03) == WIFI_FW_AP_STATE) {
|
||||
u8 *iebuf;
|
||||
int buflen;
|
||||
pframe -= _BEACON_IE_OFFSET_;
|
||||
/* DBG_8723A("ie len =%d\n", cur_network->IELength); */
|
||||
memcpy(pframe, cur_network->IEs, cur_network->IELength);
|
||||
len_diff = update_hidden_ssid(pframe + _BEACON_IE_OFFSET_,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user