当前位置:网站首页>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
边栏推荐
- Is flush account opening and registration safe and reliable? Is there any risk?
- Q&A:Transformer, Bert, ELMO, GPT, VIT
- Rhcsa third day operation
- MySQL learning notes - single table query
- Hcie security Day11: preliminarily learn the concepts of firewall dual machine hot standby and vgmp
- JMeter plug-in installation
- 18、 MySQL -- index
- Ask and answer: dispel your doubts about the virtual function mechanism
- Instructions for common methods of regular expressions
- [postgresql]postgresql custom function returns an instance of table type
猜你喜欢
"Designer universe" APEC safety and health +: environmental protection Panda "xiaobaobao" Happy Valentine's Day 2022 | ChinaBrand | Asia Pacific Economic media
Camera calibration (I): robot hand eye calibration
Example of peanut shell inner net penetration
内存分析器 (MAT)
Q&A:Transformer, Bert, ELMO, GPT, VIT
Link aggregation based on team mechanism
Based on laravel 5.5\5.6\5 X solution to the failure of installing laravel ide helper
Hcie security Day10: six experiments to understand VRRP and reliability
Rhcsa third day operation
Preliminary practice of niuke.com (11)
随机推荐
2022 high voltage electrician examination and high voltage electrician reexamination examination
Node MySQL serialize cannot rollback transactions
@Scenario of transactional annotation invalidation
9 pyqt5 qscrollarea scroll area and qscrollbar scroll bar
《ActBERT》百度&悉尼科技大学提出ActBERT,学习全局局部视频文本表示,在五个视频-文本任务中有效!...
JVM JNI and PVM pybind11 mass data transmission and optimization
Analyse de REF nerf
Kubernetes 通信异常网络故障 解决思路
Shortest path problem of graph theory (acwing template)
Do you really know how old you are?
Such as the visual appeal of the live broadcast of NBA Finals, can you still see it like this?
Camera calibration (I): robot hand eye calibration
Yyds dry goods inventory TCP & UDP
Test changes in Devops mode -- learning and thinking
App compliance
Gee calculated area
Task of gradle learning
抓包整理外篇——————autoResponder、composer 、statistics [ 三]
[secretly kill little buddy pytorch20 days -day02- example of image data modeling process]
2022 safety officer-c certificate examination and safety officer-c certificate registration examination