]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: vt6656: rename BBvUpdatePreEDThreshold to vnt_update_pre_ed_threshold
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 16 Jul 2014 21:21:58 +0000 (22:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:01:52 +0000 (18:01 -0700)
Dropping BB

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/baseband.c
drivers/staging/vt6656/baseband.h
drivers/staging/vt6656/main_usb.c

index 39e2629731a9cdc3a19331ff1c55c3e429d4d2fb..91c24a3bf1b7280a0140a4e2c41d7caf8b1108da 100644 (file)
@@ -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;
index aee51a1598851601e12fdab7a62b4e0a4a4714cb..771ea40541742f4a7f95209a94c84c4e42059f8f 100644 (file)
@@ -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__ */
index 695c5416f6763e11f7829c043e2806aa6c600019..e822572f4a15e3793f2989fcafdbd03962c6c918 100644 (file)
@@ -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,