huawei-warsaw: fix p2p related cpu stalls (MR 2232)

[ci:skip-build] already built successfully in CI
This commit is contained in:
Ignacy Kuchciński 2021-06-08 14:40:18 +02:00 committed by Clayton Craft
parent 2f6eea09ac
commit 65ced8fdd1
No known key found for this signature in database
GPG key ID: 7A3461CA187CEA54
2 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,13 @@
diff --git a/drivers/connectivity/hisi/wifi/wal/wal_linux_cfg80211.c b/drivers/connectivity/hisi/wifi/wal/wal_linux_cfg80211.c
index 5c7a7673e063..f62bf39cb149 100755
--- a/drivers/connectivity/hisi/wifi/wal/wal_linux_cfg80211.c
+++ b/drivers/connectivity/hisi/wifi/wal/wal_linux_cfg80211.c
@@ -5660,7 +5660,7 @@ OAL_STATIC oal_wireless_dev_stru * wal_cfg80211_add_virtual_intf(oal_wiphy_stru
pst_net_dev = pst_p2p0_hmac_vap->pst_p2p0_net_device;
pst_wdev = pst_net_dev->ieee80211_ptr;
#endif
- return pst_wdev;
+ return ERR_PTR(-EINVAL);
case NL80211_IFTYPE_P2P_CLIENT:
en_vap_mode = WLAN_VAP_MODE_BSS_STA;
en_p2p_mode = WLAN_P2P_CL_MODE;

View file

@ -3,7 +3,7 @@
pkgname=linux-huawei-warsaw
pkgver=4.4.174
pkgrel=0
pkgrel=1
pkgdesc="Huawei P10 Lite kernel fork"
arch="aarch64"
_carch="arm64"
@ -27,6 +27,7 @@ source="
04_make_rdr_hisi_adapter_compileable.patch
05-disable-huawei-bfmr.patch
06-change-bfgx-and-wifi-cfg-paths.patch
07-fix-p2p.patch
"
builddir="$srcdir/$_repository-$_commit"
_outdir="out"
@ -56,4 +57,5 @@ e72fdbde8746f29af60065b765a75e5475ba859bf545e2074609a075aebb6700024fe289ed56ab49
cdc60b6c829df3b014226b9cb506ed71cf005cf5fec8d4339b54a23f052465501aaa4983ec00f33ef301db2e6a70b24a30439b3f6ce8f7c00348c05d3132ec3f 04_make_rdr_hisi_adapter_compileable.patch
6e420722576111a7ba49f265a66de632631c13d1bdb67553916d2156149226526daedc8298d83a38115c0a7189497cdb92b0daa0a263a92e6093f575e855a6e5 05-disable-huawei-bfmr.patch
ebba6534c200dd174e0ea8915c88e7fe4cf5a5ffb59b21ab4dcf25a64bfd3ba8b9be027e1c29f7c39aa86f659431e1819371fe7d3bd78ccbd8aab82ff164671f 06-change-bfgx-and-wifi-cfg-paths.patch
71b3783d21eff6b43aec7b97d16e64696bd39ac191984254fb77d28db17f5f940beb3e3f0516468d698f6e10e936b8d38aa97f7e39004a3a17491de454ecdccb 07-fix-p2p.patch
"