wireless/bcm43xxx: fix nxstyle issue

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2022-06-25 03:54:35 +08:00 committed by Xiang Xiao
parent ff2b87c298
commit 76dfffe834

View file

@ -2245,11 +2245,25 @@ int bcmf_wl_set_pta_priority(FAR struct bcmf_dev_s *priv, uint32_t prio)
wl_pta_t pta_prio_map[IW_PTA_PRIORITY_WLAN_MAXIMIZED + 1] =
{
{ 0, 50, },
{ 10, 50, },
{ 25, 50, },
{ 40, 50, },
{ 50, 50, },
{
0, 50,
},
{
10, 50,
},
{
25, 50,
},
{
40, 50,
},
{
50, 50,
},
};
if (prio > IW_PTA_PRIORITY_WLAN_MAXIMIZED)
@ -2262,7 +2276,6 @@ int bcmf_wl_set_pta_priority(FAR struct bcmf_dev_s *priv, uint32_t prio)
return OK;
}
out_len = sizeof(wl_pta_t);
ret = bcmf_cdc_iovar_request(priv, CHIP_STA_INTERFACE, true,
IOVAR_STR_COEX_PARA,