This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 712734d55b bcm43xxx: remove unuse function
712734d55b is described below
commit 712734d55b7904039ceb10426212ca971f2711ac
Author: xuxin19 <[email protected]>
AuthorDate: Fri Sep 22 16:37:11 2023 +0800
bcm43xxx: remove unuse function
I added a function that I didn't use when I upstream another patch. Delete
it
https://github.com/apache/nuttx/pull/10709
Signed-off-by: zhanghongyu <[email protected]>
---
drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c | 28 -----------------------
1 file changed, 28 deletions(-)
diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c
b/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c
index 44ea3d5059..3c58fedf53 100644
--- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c
+++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c
@@ -419,34 +419,6 @@ int bcmf_driver_download_clm(FAR struct bcmf_dev_s *priv)
#endif
#endif /* CONFIG_IEEE80211_BROADCOM_HAVE_CLM */
-int bcmf_wl_set_pm(FAR struct bcmf_dev_s *priv, int mode)
-{
- int interface = CHIP_STA_INTERFACE;
- uint32_t out_len;
- uint32_t value;
- int ret = OK;
-
- /* Set default power save mode */
-
-#ifdef CONFIG_IEEE80211_BROADCOM_LOWPOWER
- if (priv->lp_mode != mode)
-#endif
- {
- out_len = 4;
- value = mode;
- ret = bcmf_cdc_ioctl(priv, interface, true, WLC_SET_PM,
- (uint8_t *)&value, &out_len);
-#ifdef CONFIG_IEEE80211_BROADCOM_LOWPOWER
- if (ret == OK)
- {
- priv->lp_mode = mode;
- }
-#endif
- }
-
- return ret;
-}
-
/****************************************************************************
* Name: bcmf_wl_active
****************************************************************************/