mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-12-26 19:45:36 +00:00
修改netCapability偶尔不准确的问题
Signed-off-by: 18734571586 <wangxiaohui41@huawei.com>
This commit is contained in:
parent
ec663df6d4
commit
b8e3587737
@ -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