Skip to content

Commit 712734d

Browse files
xuxin930xiaoxiang781216
authored andcommitted
bcm43xxx: remove unuse function
I added a function that I didn't use when I upstream another patch. Delete it apache#10709 Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
1 parent cb94f82 commit 712734d

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -419,34 +419,6 @@ int bcmf_driver_download_clm(FAR struct bcmf_dev_s *priv)
419419
#endif
420420
#endif /* CONFIG_IEEE80211_BROADCOM_HAVE_CLM */
421421

422-
int bcmf_wl_set_pm(FAR struct bcmf_dev_s *priv, int mode)
423-
{
424-
int interface = CHIP_STA_INTERFACE;
425-
uint32_t out_len;
426-
uint32_t value;
427-
int ret = OK;
428-
429-
/* Set default power save mode */
430-
431-
#ifdef CONFIG_IEEE80211_BROADCOM_LOWPOWER
432-
if (priv->lp_mode != mode)
433-
#endif
434-
{
435-
out_len = 4;
436-
value = mode;
437-
ret = bcmf_cdc_ioctl(priv, interface, true, WLC_SET_PM,
438-
(uint8_t *)&value, &out_len);
439-
#ifdef CONFIG_IEEE80211_BROADCOM_LOWPOWER
440-
if (ret == OK)
441-
{
442-
priv->lp_mode = mode;
443-
}
444-
#endif
445-
}
446-
447-
return ret;
448-
}
449-
450422
/****************************************************************************
451423
* Name: bcmf_wl_active
452424
****************************************************************************/

0 commit comments

Comments
 (0)