修改netCapability偶尔不准确的问题

Signed-off-by: 18734571586 <wangxiaohui41@huawei.com>
This commit is contained in:
18734571586 2022-09-29 14:58:05 +08:00
parent ec663df6d4
commit b8e3587737

View File

@ -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);