diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c b/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c index fd1a3cf442e..b242ba3ab16 100644 --- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c +++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c @@ -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,