staging: vt6656: rename MACvDisableBarkerPreambleMd to vnt_mac_disable_barker_preambl...
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 31 May 2014 10:50:48 +0000 (11:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:57:38 +0000 (15:57 -0700)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/bssdb.c
drivers/staging/vt6656/mac.c
drivers/staging/vt6656/mac.h
drivers/staging/vt6656/wmgr.c

index 0a662e7c1d68135c9f385761db2e51028d0dcd04..997a20ebc626209e52f061af178d474a5065e1a3 100644 (file)
@@ -975,7 +975,7 @@ void BSSvSecondCallBack(struct work_struct *work)
                                pDevice->bBarkerPreambleMd = true;
                        }
                } else if (pDevice->bBarkerPreambleMd) {
-                               MACvDisableBarkerPreambleMd(pDevice);
+                               vnt_mac_disable_barker_preamble_mode(pDevice);
                                pDevice->bBarkerPreambleMd = false;
                }
 
index 94e9f95a436b657bd7748ac93032caebab572357..3275ee9fc2fd87a942e21273bde207d83c8e6722 100644 (file)
@@ -219,7 +219,7 @@ void vnt_mac_enable_barker_preamble_mode(struct vnt_private *priv)
                MAC_REG_ENCFG2, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
 }
 
-void MACvDisableBarkerPreambleMd(struct vnt_private *priv)
+void vnt_mac_disable_barker_preamble_mode(struct vnt_private *priv)
 {
        u8 data[2];
 
index 9b0cac42711ead964dac77ecc05fbfd7f8408e04..dfeacbfe5e54a157a60b33d28ed8c40cf55168d0 100644 (file)
@@ -426,7 +426,7 @@ void vnt_mac_set_bssid_addr(struct vnt_private *, u8 *);
 void vnt_mac_enable_protect_mode(struct vnt_private *);
 void vnt_mac_disable_protect_mode(struct vnt_private *);
 void vnt_mac_enable_barker_preamble_mode(struct vnt_private *);
-void MACvDisableBarkerPreambleMd(struct vnt_private *);
+void vnt_mac_disable_barker_preamble_mode(struct vnt_private *);
 void MACvWriteBeaconInterval(struct vnt_private *, u16);
 void vnt_mac_set_led(struct vnt_private *priv, u8, u8);
 
index 7a5f6990b246bcc91d4c9c58bfe705ac437b042a..73c6e9019f2d919ef264973cb61193030efab42e 100644 (file)
@@ -1670,7 +1670,7 @@ if(ChannelExceedZoneType(pDevice,byCurrChannel)==true)
                         if (pDevice->bBarkerPreambleMd) {
                            vnt_mac_enable_barker_preamble_mode(pDevice);
                         } else {
-                            MACvDisableBarkerPreambleMd(pDevice);
+                           vnt_mac_disable_barker_preamble_mode(pDevice);
                         }
                     }
                 }
@@ -2034,7 +2034,7 @@ void vMgrCreateOwnIBSS(struct vnt_private *pDevice, PCMD_STATUS pStatus)
     vnt_mac_disable_protect_mode(pDevice);
 
     pDevice->bBarkerPreambleMd = 0;
-    MACvDisableBarkerPreambleMd(pDevice);
+    vnt_mac_disable_barker_preamble_mode(pDevice);
 
     // Kyle Test 2003.11.04
 
@@ -2402,7 +2402,7 @@ void vMgrJoinBSSBegin(struct vnt_private *pDevice, PCMD_STATUS pStatus)
                     if (pDevice->bBarkerPreambleMd) {
                        vnt_mac_enable_barker_preamble_mode(pDevice);
                     } else {
-                        MACvDisableBarkerPreambleMd(pDevice);
+                       vnt_mac_disable_barker_preamble_mode(pDevice);
                     }
                 }
             }
@@ -2567,7 +2567,7 @@ static void s_vMgrSynchBSS(struct vnt_private *pDevice, u32 uBSSMode,
     pDevice->bProtectMode = false;
     vnt_mac_disable_protect_mode(pDevice);
     pDevice->bBarkerPreambleMd = false;
-    MACvDisableBarkerPreambleMd(pDevice);
+    vnt_mac_disable_barker_preamble_mode(pDevice);
     pDevice->bNonERPPresent = false;
     pDevice->byPreambleType = 0;
     pDevice->wBasicRate = 0;