drivers/wireless/ieee80211/bcm43xxx/bcmf_core.c: Appease nxstyle
This commit is contained in:
parent
4fea157642
commit
abb10784d9
@ -181,7 +181,8 @@ int bcmf_upload_binary(FAR struct bcmf_sdio_dev_s *sbus, uint32_t address,
|
|||||||
/* Transfer firmware data */
|
/* Transfer firmware data */
|
||||||
|
|
||||||
ret = bcmf_transfer_bytes(sbus, true, 1,
|
ret = bcmf_transfer_bytes(sbus, true, 1,
|
||||||
address & SBSDIO_SB_OFT_ADDR_MASK, buf, size);
|
address & SBSDIO_SB_OFT_ADDR_MASK, buf,
|
||||||
|
size);
|
||||||
if (ret != OK)
|
if (ret != OK)
|
||||||
{
|
{
|
||||||
wlerr("transfer failed %d %x %d\n", ret, address, size);
|
wlerr("transfer failed %d %x %d\n", ret, address, size);
|
||||||
@ -584,7 +585,8 @@ void bcmf_core_reset(FAR struct bcmf_sdio_dev_s *sbus, unsigned int core)
|
|||||||
|
|
||||||
/* Run initialization sequence */
|
/* Run initialization sequence */
|
||||||
|
|
||||||
bcmf_write_sbregb(sbus, base + BCMA_IOCTL, BCMA_IOCTL_FGC | BCMA_IOCTL_CLK);
|
bcmf_write_sbregb(sbus, base + BCMA_IOCTL,
|
||||||
|
BCMA_IOCTL_FGC | BCMA_IOCTL_CLK);
|
||||||
bcmf_read_sbregw(sbus, base + BCMA_IOCTL, &value);
|
bcmf_read_sbregw(sbus, base + BCMA_IOCTL, &value);
|
||||||
|
|
||||||
bcmf_write_sbregb(sbus, base + BCMA_RESET_CTL, 0);
|
bcmf_write_sbregb(sbus, base + BCMA_RESET_CTL, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user