Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: vt6656: rename BBvUpdatePreEDThreshold to vnt_update_pre_ed_threshold

Dropping BB

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Malcolm Priestley and committed by
Greg Kroah-Hartman
80dcc0ae 0e951753

+5 -5
+1 -1
drivers/staging/vt6656/baseband.c
··· 581 581 vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x0d, 0x01);/* CR13 */ 582 582 } 583 583 584 - void BBvUpdatePreEDThreshold(struct vnt_private *priv, int scanning) 584 + void vnt_update_pre_ed_threshold(struct vnt_private *priv, int scanning) 585 585 { 586 586 u8 cr_201 = 0x0, cr_206 = 0x0; 587 587 u8 ed_inx = priv->byBBPreEDIndex;
+1 -1
drivers/staging/vt6656/baseband.h
··· 99 99 int vnt_vt3184_init(struct vnt_private *); 100 100 void vnt_set_deep_sleep(struct vnt_private *); 101 101 void vnt_exit_deep_sleep(struct vnt_private *); 102 - void BBvUpdatePreEDThreshold(struct vnt_private *, int scanning); 102 + void vnt_update_pre_ed_threshold(struct vnt_private *, int scanning); 103 103 104 104 #endif /* __BASEBAND_H__ */
+3 -3
drivers/staging/vt6656/main_usb.c
··· 882 882 883 883 vnt_set_short_slot_time(priv); 884 884 vnt_set_vga_gain_offset(priv, priv->abyBBVGA[0]); 885 - BBvUpdatePreEDThreshold(priv, false); 885 + vnt_update_pre_ed_threshold(priv, false); 886 886 } 887 887 888 888 if (changed & BSS_CHANGED_TXPOWER) ··· 1003 1003 1004 1004 vnt_set_bss_mode(priv); 1005 1005 /* Set max sensitivity*/ 1006 - BBvUpdatePreEDThreshold(priv, true); 1006 + vnt_update_pre_ed_threshold(priv, true); 1007 1007 } 1008 1008 1009 1009 static void vnt_sw_scan_complete(struct ieee80211_hw *hw) ··· 1011 1011 struct vnt_private *priv = hw->priv; 1012 1012 1013 1013 /* Return sensitivity to channel level*/ 1014 - BBvUpdatePreEDThreshold(priv, false); 1014 + vnt_update_pre_ed_threshold(priv, false); 1015 1015 } 1016 1016 1017 1017 static int vnt_get_stats(struct ieee80211_hw *hw,