mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Fixing AP mode on Tinkerboard (#2748)
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
From 48646460655b36cb616c7ad05f66f63631bfe1d8 Mon Sep 17 00:00:00 2001
|
||||
From: "Miouyouyou (Myy)" <myy@miouyouyou.fr>
|
||||
Date: Fri, 14 Aug 2020 09:27:49 +0200
|
||||
Subject: [PATCH] drivers: staging: rtl8723bs: Initialize structures correctly
|
||||
|
||||
This avoids a BUG when freeing the ressources in nl80211_send_station .
|
||||
|
||||
Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
|
||||
---
|
||||
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
|
||||
index 2fb80b6eb..aef9cd888 100644
|
||||
--- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
|
||||
+++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
|
||||
@@ -2384,7 +2384,7 @@ void rtw_cfg80211_indicate_sta_assoc(struct adapter *padapter, u8 *pmgmt_frame,
|
||||
DBG_871X(FUNC_ADPT_FMT"\n", FUNC_ADPT_ARG(padapter));
|
||||
|
||||
{
|
||||
- struct station_info sinfo;
|
||||
+ struct station_info sinfo = {0};
|
||||
u8 ie_offset;
|
||||
if (GetFrameSubType(pmgmt_frame) == WIFI_ASSOCREQ)
|
||||
ie_offset = _ASOCREQ_IE_OFFSET_;
|
||||
--
|
||||
2.28.0
|
||||
@@ -0,0 +1,27 @@
|
||||
From 48646460655b36cb616c7ad05f66f63631bfe1d8 Mon Sep 17 00:00:00 2001
|
||||
From: "Miouyouyou (Myy)" <myy@miouyouyou.fr>
|
||||
Date: Fri, 14 Aug 2020 09:27:49 +0200
|
||||
Subject: [PATCH] drivers: staging: rtl8723bs: Initialize structures correctly
|
||||
|
||||
This avoids a BUG when freeing the ressources in nl80211_send_station .
|
||||
|
||||
Signed-off-by: Miouyouyou (Myy) <myy@miouyouyou.fr>
|
||||
---
|
||||
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
|
||||
index 2fb80b6eb..aef9cd888 100644
|
||||
--- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
|
||||
+++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
|
||||
@@ -2384,7 +2384,7 @@ void rtw_cfg80211_indicate_sta_assoc(struct adapter *padapter, u8 *pmgmt_frame,
|
||||
DBG_871X(FUNC_ADPT_FMT"\n", FUNC_ADPT_ARG(padapter));
|
||||
|
||||
{
|
||||
- struct station_info sinfo;
|
||||
+ struct station_info sinfo = {0};
|
||||
u8 ie_offset;
|
||||
if (GetFrameSubType(pmgmt_frame) == WIFI_ASSOCREQ)
|
||||
ie_offset = _ASOCREQ_IE_OFFSET_;
|
||||
--
|
||||
2.28.0
|
||||
Reference in New Issue
Block a user