diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c b/drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c index 246e5352f2e1..0c0e78263a66 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c +++ b/drivers/net/wireless/rtlwifi/rtl8192c/phy_common.c | |||
@@ -592,36 +592,6 @@ long _rtl92c_phy_txpwr_idx_to_dbm(struct ieee80211_hw *hw, | |||
592 | } | 592 | } |
593 | EXPORT_SYMBOL(_rtl92c_phy_txpwr_idx_to_dbm); | 593 | EXPORT_SYMBOL(_rtl92c_phy_txpwr_idx_to_dbm); |
594 | 594 | ||
595 | void rtl92c_phy_scan_operation_backup(struct ieee80211_hw *hw, u8 operation) | ||
596 | { | ||
597 | struct rtl_priv *rtlpriv = rtl_priv(hw); | ||
598 | struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); | ||
599 | enum io_type iotype; | ||
600 | |||
601 | if (!is_hal_stop(rtlhal)) { | ||
602 | switch (operation) { | ||
603 | case SCAN_OPT_BACKUP: | ||
604 | iotype = IO_CMD_PAUSE_DM_BY_SCAN; | ||
605 | rtlpriv->cfg->ops->set_hw_reg(hw, | ||
606 | HW_VAR_IO_CMD, | ||
607 | (u8 *)&iotype); | ||
608 | |||
609 | break; | ||
610 | case SCAN_OPT_RESTORE: | ||
611 | iotype = IO_CMD_RESUME_DM_BY_SCAN; | ||
612 | rtlpriv->cfg->ops->set_hw_reg(hw, | ||
613 | HW_VAR_IO_CMD, | ||
614 | (u8 *)&iotype); | ||
615 | break; | ||
616 | default: | ||
617 | RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, | ||
618 | "Unknown Scan Backup operation\n"); | ||
619 | break; | ||
620 | } | ||
621 | } | ||
622 | } | ||
623 | EXPORT_SYMBOL(rtl92c_phy_scan_operation_backup); | ||
624 | |||
625 | void rtl92c_phy_set_bw_mode(struct ieee80211_hw *hw, | 595 | void rtl92c_phy_set_bw_mode(struct ieee80211_hw *hw, |
626 | enum nl80211_channel_type ch_type) | 596 | enum nl80211_channel_type ch_type) |
627 | { | 597 | { |