mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-12-26 03:25:21 +00:00
!2481 修改netCapability偶尔不准确的问题
Merge pull request !2481 from wangxiaohui/master
This commit is contained in:
commit
443041f6c9
@ -178,7 +178,6 @@ static void WifiStateEventHandler(const LnnEventBasicInfo *info)
|
||||
isSend = false;
|
||||
break;
|
||||
case SOFTBUS_WIFI_DISABLED:
|
||||
(void)LnnClearNetCapability(&netCapability, BIT_WIFI_P2P);
|
||||
(void)LnnClearNetCapability(&netCapability, BIT_WIFI);
|
||||
(void)LnnClearNetCapability(&netCapability, BIT_WIFI_24G);
|
||||
(void)LnnClearNetCapability(&netCapability, BIT_WIFI_5G);
|
||||
|
Loading…
Reference in New Issue
Block a user