当前位置:网站首页>Qualcomm platform WiFi -- P2P issue
Qualcomm platform WiFi -- P2P issue
2022-07-03 21:00:00 【Professional developer】
demand :
p2p: check p2p instance in all asynchronized callbacks
If cancelConnect is not called, the scan retry callback would be called several times. If P2P is disabled in this period,these asynchronized callbacks would access de-initialized p2p instance and result in native crash.
code:
------------------- wpa_supplicant/hidl/1.2/p2p_iface.cpp --------------------
index 0a6b657d..fd9ce0dc 100644
@@ -225,7 +225,7 @@ int joinScanReq(
size_t ielen;
unsigned int bands;
- if (!wpa_s->global->p2p) {
+ if (wpa_s->global->p2p == NULL || wpa_s->global->p2p_disabled) {
wpa_printf(MSG_ERROR,
"P2P: P2P interface is gone, cancel join scan");
return -ENXIO;
@@ -1634,7 +1634,7 @@ SupplicantStatus P2pIface::addGroup_1_2Internal(
int vht = wpa_s->conf->p2p_go_vht;
int ht40 = wpa_s->conf->p2p_go_ht40 || vht;
- i边栏推荐
- JMeter plug-in installation
- First knowledge of database
- Use nodejs+express+mongodb to complete the data persistence project (with modified source code)
- (5) Web security | penetration testing | network security operating system database third-party security, with basic use of nmap and masscan
- Viewing Chinese science and technology from the Winter Olympics (II): when snowmaking breakthrough is in progress
- 鹏城杯 WEB_WP
- Link aggregation based on team mechanism
- 19、 MySQL -- SQL statements and queries
- 11-grom-v2-05-initialization
- Sort out several network request methods of JS -- get rid of callback hell
猜你喜欢

In 2021, the global revenue of syphilis rapid detection kits was about US $608.1 million, and it is expected to reach US $712.9 million in 2028

@Transactional注解失效的场景

全网都在疯传的《老板管理手册》(转)

Etcd 基于Raft的一致性保证

Discussion Net legacy application transformation
![抓包整理外篇——————autoResponder、composer 、statistics [ 三]](/img/bf/ac3ba04c48e80b2d4f9c13894a4984.png)
抓包整理外篇——————autoResponder、composer 、statistics [ 三]

运维各常用命令总结

Pengcheng cup Web_ WP

jvm jni 及 pvm pybind11 大批量数据传输及优化

An old programmer gave it to college students
随机推荐
Talk about daily newspaper design - how to write a daily newspaper and what is the use of a daily newspaper?
Thread, thread stack, method stack, the difference of creating thread
Install and use Chrony, and then build your own time server
[Yugong series] go teaching course 002 go language environment installation in July 2022
Fingerprint password lock based on Hal Library
First knowledge of database
2022 low voltage electrician examination and low voltage electrician simulation examination question bank
How to handle wechat circle of friends marketing activities and share production and release skills
Summary of common operation and maintenance commands
@Transactional注解失效的场景
6006. Take out the minimum number of magic beans
MDM mass data synchronization test verification
Memory analyzer (MAT)
Interval product of zhinai sauce (prefix product + inverse element)
浅议.NET遗留应用改造
TLS environment construction and plaintext analysis
(5) Web security | penetration testing | network security operating system database third-party security, with basic use of nmap and masscan
Cap and base theory
[Tang Laoshi] C -- encapsulation: member variables and access modifiers
Hcie security Day10: six experiments to understand VRRP and reliability