mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 13:08:26 +00:00
wireless/bcm43xxx: fix nxstyle issue
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
ff2b87c298
commit
76dfffe834
1 changed files with 19 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue