From: Malcolm Priestley Date: Wed, 16 Jul 2014 21:21:58 +0000 (+0100) Subject: staging: vt6656: rename BBvUpdatePreEDThreshold to vnt_update_pre_ed_threshold X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=80dcc0aeb92d37cb67eb2553de74d826983085a1;p=openwrt%2Fstaging%2Fblogic.git staging: vt6656: rename BBvUpdatePreEDThreshold to vnt_update_pre_ed_threshold Dropping BB Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/vt6656/baseband.c index 39e2629731a9..91c24a3bf1b7 100644 --- a/drivers/staging/vt6656/baseband.c +++ b/drivers/staging/vt6656/baseband.c @@ -581,7 +581,7 @@ void vnt_exit_deep_sleep(struct vnt_private *priv) vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x0d, 0x01);/* CR13 */ } -void BBvUpdatePreEDThreshold(struct vnt_private *priv, int scanning) +void vnt_update_pre_ed_threshold(struct vnt_private *priv, int scanning) { u8 cr_201 = 0x0, cr_206 = 0x0; u8 ed_inx = priv->byBBPreEDIndex; diff --git a/drivers/staging/vt6656/baseband.h b/drivers/staging/vt6656/baseband.h index aee51a159885..771ea4054174 100644 --- a/drivers/staging/vt6656/baseband.h +++ b/drivers/staging/vt6656/baseband.h @@ -99,6 +99,6 @@ void vnt_set_antenna_mode(struct vnt_private *, u8); int vnt_vt3184_init(struct vnt_private *); void vnt_set_deep_sleep(struct vnt_private *); void vnt_exit_deep_sleep(struct vnt_private *); -void BBvUpdatePreEDThreshold(struct vnt_private *, int scanning); +void vnt_update_pre_ed_threshold(struct vnt_private *, int scanning); #endif /* __BASEBAND_H__ */ diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 695c5416f676..e822572f4a15 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -882,7 +882,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw, vnt_set_short_slot_time(priv); vnt_set_vga_gain_offset(priv, priv->abyBBVGA[0]); - BBvUpdatePreEDThreshold(priv, false); + vnt_update_pre_ed_threshold(priv, false); } if (changed & BSS_CHANGED_TXPOWER) @@ -1003,7 +1003,7 @@ static void vnt_sw_scan_start(struct ieee80211_hw *hw) vnt_set_bss_mode(priv); /* Set max sensitivity*/ - BBvUpdatePreEDThreshold(priv, true); + vnt_update_pre_ed_threshold(priv, true); } static void vnt_sw_scan_complete(struct ieee80211_hw *hw) @@ -1011,7 +1011,7 @@ static void vnt_sw_scan_complete(struct ieee80211_hw *hw) struct vnt_private *priv = hw->priv; /* Return sensitivity to channel level*/ - BBvUpdatePreEDThreshold(priv, false); + vnt_update_pre_ed_threshold(priv, false); } static int vnt_get_stats(struct ieee80211_hw *hw,