staging: vt6656: rename PIPEnsControlOut/CONTROLnsRequestOut to vnt_control_out
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 26 May 2014 12:59:01 +0000 (13:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 May 2014 17:36:49 +0000 (10:36 -0700)
Rename all CONTROLnsRequestOut and remove macro from control.h

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 files changed:
drivers/staging/vt6656/baseband.c
drivers/staging/vt6656/card.c
drivers/staging/vt6656/control.c
drivers/staging/vt6656/control.h
drivers/staging/vt6656/firmware.c
drivers/staging/vt6656/key.c
drivers/staging/vt6656/mac.c
drivers/staging/vt6656/main_usb.c
drivers/staging/vt6656/power.c
drivers/staging/vt6656/rf.c
drivers/staging/vt6656/usbpipe.c
drivers/staging/vt6656/usbpipe.h
drivers/staging/vt6656/wcmd.c

index 309a3cb74391ebc0a835f4f3e40601312aa2c976..8a509d895615ea8cd871305c6510f37e04c4bc4c 100644 (file)
@@ -865,7 +865,7 @@ void BBvSetAntennaMode(struct vnt_private *priv, u8 antenna_mode)
                break;
        }
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_SET_ANTMD,
+       vnt_control_out(priv, MESSAGE_TYPE_SET_ANTMD,
                (u16)antenna_mode, 0, 0, NULL);
 }
 
@@ -1018,12 +1018,12 @@ int BBbVT3184Init(struct vnt_private *priv)
 
        memcpy(array, addr, length);
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE, 0,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE, 0,
                MESSAGE_REQUEST_BBREG, length, array);
 
        memcpy(array, agc, length_agc);
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE, 0,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE, 0,
                MESSAGE_REQUEST_BBAGC, length_agc, array);
 
        if ((priv->byRFType == RF_VT3226) ||
@@ -1049,7 +1049,7 @@ int BBbVT3184Init(struct vnt_private *priv)
 
        data |= 0x2;
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE, USB_REG4,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE, USB_REG4,
                MESSAGE_REQUEST_MEM, sizeof(data), &data);
 
        return true;
index 6da912b4ec686ef5b4f30be19555ffef34e3a2d9..1f20e9adc9238a22583cae5da1df87f0c0bd690b 100644 (file)
@@ -94,7 +94,7 @@ void CARDbSetMediaChannel(struct vnt_private *priv, u32 connection_channel)
        /* Set Channel[7] = 0 to tell H/W channel is changing now. */
        MACvRegBitsOff(priv, MAC_REG_CHANNEL, 0xb0);
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_SELECT_CHANNLE,
+       vnt_control_out(priv, MESSAGE_TYPE_SELECT_CHANNLE,
                                        connection_channel, 0, 0, NULL);
 
        if (priv->byBBType == BB_TYPE_11A) {
@@ -373,7 +373,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type)
                data[16 + i * 2 + 1] = rsv_time[i];
        }
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE,
                MAC_REG_RSPINF_B_1, MESSAGE_REQUEST_MACREG, 34, &data[0]);
 }
 
@@ -461,12 +461,12 @@ void vUpdateIFS(struct vnt_private *priv)
        data[2] = (u8)priv->uEIFS;
        data[3] = (u8)priv->uSlot;
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE, MAC_REG_SIFS,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE, MAC_REG_SIFS,
                MESSAGE_REQUEST_MACREG, 4, &data[0]);
 
        max_min |= 0xa0;
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE, MAC_REG_CWMAXMIN0,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE, MAC_REG_CWMAXMIN0,
                MESSAGE_REQUEST_MACREG, 1, &max_min);
 }
 
@@ -603,7 +603,7 @@ void CARDvAdjustTSF(struct vnt_private *priv, u8 rx_rate,
        data[6] = (u8)(tsf_offset >> 48);
        data[7] = (u8)(tsf_offset >> 56);
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_SET_TSFTBTT,
+       vnt_control_out(priv, MESSAGE_TYPE_SET_TSFTBTT,
                MESSAGE_REQUEST_TSF, 0, 8, data);
 }
 /*
@@ -712,7 +712,7 @@ void CARDvSetFirstNextTBTT(struct vnt_private *priv, u16 beacon_interval)
        data[6] = (u8)(next_tbtt >> 48);
        data[7] = (u8)(next_tbtt >> 56);
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_SET_TSFTBTT,
+       vnt_control_out(priv, MESSAGE_TYPE_SET_TSFTBTT,
                MESSAGE_REQUEST_TBTT, 0, 8, data);
 
        return;
@@ -749,7 +749,7 @@ void CARDvUpdateNextTBTT(struct vnt_private *priv, u64 tsf,
        data[6] = (u8)(tsf >> 48);
        data[7] = (u8)(tsf >> 56);
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_SET_TSFTBTT,
+       vnt_control_out(priv, MESSAGE_TYPE_SET_TSFTBTT,
                MESSAGE_REQUEST_TBTT, 0, 8, data);
 
        dev_dbg(&priv->usb->dev, "%s TBTT: %8llx\n", __func__, tsf);
index fc19166e2f8bd64f5a017981946d8904f806e88e..074052190ed5a3be646c00d1bba73c896e4eb52e 100644 (file)
@@ -26,7 +26,7 @@
  * Date: Apr. 5, 2004
  *
  * Functions:
- *      CONTROLnsRequestOut - Write variable length bytes to MEM/BB/MAC/EEPROM
+ *      vnt_control_out - Write variable length bytes to MEM/BB/MAC/EEPROM
  *      CONTROLnsRequestIn - Read variable length bytes from MEM/BB/MAC/EEPROM
  *      ControlvWriteByte - Write one byte to MEM/BB/MAC/EEPROM
  *      ControlvReadByte - Read one byte from MEM/BB/MAC/EEPROM
@@ -49,7 +49,7 @@ void ControlvWriteByte(struct vnt_private *pDevice, u8 reg, u8 reg_off,
                        u8 data)
 {
 
-       CONTROLnsRequestOut(pDevice, MESSAGE_TYPE_WRITE, reg_off, reg,
+       vnt_control_out(pDevice, MESSAGE_TYPE_WRITE, reg_off, reg,
                sizeof(u8), &data);
 
        return;
@@ -71,7 +71,7 @@ void ControlvMaskByte(struct vnt_private *pDevice, u8 reg_type, u8 reg_off,
        reg_data[0] = data;
        reg_data[1] = reg_mask;
 
-       CONTROLnsRequestOut(pDevice, MESSAGE_TYPE_WRITE_MASK, reg_off,
+       vnt_control_out(pDevice, MESSAGE_TYPE_WRITE_MASK, reg_off,
                        reg_type, ARRAY_SIZE(reg_data), reg_data);
 
        return;
index 4658910ca4c1dcb2949576a20e3b6626d41a53f9..17a23d532adb04f5100e2c8b6cd29b6eba404eed 100644 (file)
@@ -33,9 +33,6 @@
 #include "device.h"
 #include "usbpipe.h"
 
-#define CONTROLnsRequestOut(Device, Request, Value, Index, Length, Buffer) \
-       PIPEnsControlOut(Device, Request, Value, Index, Length, Buffer)
-
 #define CONTROLnsRequestIn(Device, Request, Value, Index, Length, Buffer) \
        PIPEnsControlIn(Device, Request, Value, Index, Length, Buffer)
 
index 1d3d268ef772d2e13670470669edd78e6aab5204..13b68d5c558872f57a17c24cd4918af3eef1583a 100644 (file)
@@ -70,7 +70,7 @@ int FIRMWAREbDownload(struct vnt_private *pDevice)
                wLength = min_t(int, fw->size - ii, FIRMWARE_CHUNK_SIZE);
                memcpy(pBuffer, fw->data + ii, wLength);
 
-               NdisStatus = CONTROLnsRequestOut(pDevice,
+               NdisStatus = vnt_control_out(pDevice,
                                                0,
                                                0x1200+ii,
                                                0x0000,
@@ -100,7 +100,7 @@ int FIRMWAREbBrach2Sram(struct vnt_private *pDevice)
 
        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->Branch to Sram\n");
 
-       NdisStatus = CONTROLnsRequestOut(pDevice,
+       NdisStatus = vnt_control_out(pDevice,
                                        1,
                                        0x1200,
                                        0x0000,
index 9283612f670e8f8580e914a6a68c796c654838d5..11aa82a08f0ef409ea184b5576b31a7389ae4fc2 100644 (file)
@@ -67,15 +67,10 @@ static void s_vCheckKeyTableValid(struct vnt_private *pDevice,
             //MACvDisableKeyEntry(pDevice, i);
         }
     }
-    if ( wLength != 0 ) {
-        CONTROLnsRequestOut(pDevice,
-                            MESSAGE_TYPE_CLRKEYENTRY,
-                            0,
-                            0,
-                            wLength,
-                            pbyData
-                            );
-    }
+
+       if (wLength != 0)
+               vnt_control_out(pDevice, MESSAGE_TYPE_CLRKEYENTRY,
+                       0, 0, wLength, pbyData);
 
 }
 
@@ -112,13 +107,9 @@ void KeyvInitTable(struct vnt_private *pDevice, PSKeyManagement pTable)
         pbyData[i] = (u8) i;
     }
     pbyData[i] = (u8) i;
-    CONTROLnsRequestOut(pDevice,
-                        MESSAGE_TYPE_CLRKEYENTRY,
-                        0,
-                        0,
-                        11,
-                        pbyData
-                        );
+
+       vnt_control_out(pDevice, MESSAGE_TYPE_CLRKEYENTRY,
+                       0, 0, 11, pbyData);
 
     return;
 }
index 9211ec1c5e2546ed03d76a8aa22cea1f4e731417..51e4a355d9d7a9b6de6af4f1b687e7e09220543d 100644 (file)
@@ -54,7 +54,7 @@ void MACvWriteMultiAddr(struct vnt_private *priv, u64 mc_filter)
 {
        __le64 le_mc = cpu_to_le64(mc_filter);
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE, MAC_REG_MAR0,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE, MAC_REG_MAR0,
                MESSAGE_REQUEST_MACREG, sizeof(le_mc), (u8 *)&le_mc);
 }
 
@@ -71,7 +71,7 @@ void MACvWriteMultiAddr(struct vnt_private *priv, u64 mc_filter)
  */
 void MACbShutdown(struct vnt_private *priv)
 {
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_MACSHUTDOWN, 0, 0, 0, NULL);
+       vnt_control_out(priv, MESSAGE_TYPE_MACSHUTDOWN, 0, 0, 0, NULL);
 }
 
 void MACvSetBBType(struct vnt_private *priv, u8 type)
@@ -81,7 +81,7 @@ void MACvSetBBType(struct vnt_private *priv, u8 type)
        data[0] = type;
        data[1] = EnCFG_BBType_MASK;
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK, MAC_REG_ENCFG0,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE_MASK, MAC_REG_ENCFG0,
                MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
 }
 
@@ -101,7 +101,7 @@ void MACvSetBBType(struct vnt_private *priv, u8 type)
  */
 void MACvDisableKeyEntry(struct vnt_private *priv, u8 entry_idx)
 {
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_CLRKEYENTRY, 0, 0,
+       vnt_control_out(priv, MESSAGE_TYPE_CLRKEYENTRY, 0, 0,
                sizeof(entry_idx), &entry_idx);
 }
 
@@ -143,7 +143,7 @@ void MACvSetKeyEntry(struct vnt_private *priv, u16 key_ctl, u32 entry_idx,
        dev_dbg(&priv->usb->dev, "offset %d key ctl %d set key %24ph\n",
                                offset, key_ctl, (u8 *)&set_key);
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_SETKEY, offset,
+       vnt_control_out(priv, MESSAGE_TYPE_SETKEY, offset,
                (u16)key_idx, sizeof(struct vnt_mac_set_key), (u8 *)&set_key);
 }
 
@@ -154,7 +154,7 @@ void MACvRegBitsOff(struct vnt_private *priv, u8 reg_ofs, u8 bits)
        data[0] = 0;
        data[1] = bits;
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE_MASK,
                reg_ofs, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
 }
 
@@ -165,7 +165,7 @@ void MACvRegBitsOn(struct vnt_private *priv, u8 reg_ofs, u8 bits)
        data[0] = bits;
        data[1] = bits;
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE_MASK,
                reg_ofs, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
 }
 
@@ -176,13 +176,13 @@ void MACvWriteWord(struct vnt_private *priv, u8 reg_ofs, u16 word)
        data[0] = (u8)(word & 0xff);
        data[1] = (u8)(word >> 8);
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE,
                reg_ofs, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
 }
 
 void MACvWriteBSSIDAddress(struct vnt_private *priv, u8 *addr)
 {
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE, MAC_REG_BSSID0,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE, MAC_REG_BSSID0,
                MESSAGE_REQUEST_MACREG, ETH_ALEN, addr);
 }
 
@@ -193,7 +193,7 @@ void MACvEnableProtectMD(struct vnt_private *priv)
        data[0] = EnCFG_ProtectMd;
        data[1] = EnCFG_ProtectMd;
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE_MASK,
                MAC_REG_ENCFG0, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
 }
 
@@ -204,7 +204,7 @@ void MACvDisableProtectMD(struct vnt_private *priv)
        data[0] = 0;
        data[1] = EnCFG_ProtectMd;
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE_MASK,
                MAC_REG_ENCFG0, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
 }
 
@@ -215,7 +215,7 @@ void MACvEnableBarkerPreambleMd(struct vnt_private *priv)
        data[0] = EnCFG_BarkerPream;
        data[1] = EnCFG_BarkerPream;
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE_MASK,
                MAC_REG_ENCFG2, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
 }
 
@@ -226,7 +226,7 @@ void MACvDisableBarkerPreambleMd(struct vnt_private *priv)
        data[0] = 0;
        data[1] = EnCFG_BarkerPream;
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE_MASK,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE_MASK,
                MAC_REG_ENCFG2, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
 }
 
@@ -237,6 +237,6 @@ void MACvWriteBeaconInterval(struct vnt_private *priv, u16 interval)
        data[0] = (u8)(interval & 0xff);
        data[1] = (u8)(interval >> 8);
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE,
                MAC_REG_BI, MESSAGE_REQUEST_MACREG, ARRAY_SIZE(data), data);
 }
index ed04804d1d50e093710c0c8816acf73dc9623b62..9e70aa5c29d14d68b5ed2a779dc1ae3fca0d7ec7 100644 (file)
@@ -314,7 +314,7 @@ static int device_init_registers(struct vnt_private *pDevice)
        init_cmd->long_retry_limit = pDevice->byLongRetryLimit;
 
        /* issue card_init command to device */
-       ntStatus = CONTROLnsRequestOut(pDevice,
+       ntStatus = vnt_control_out(pDevice,
                MESSAGE_TYPE_CARDINIT, 0, 0,
                sizeof(struct vnt_cmd_card_init), (u8 *)init_cmd);
        if (ntStatus != STATUS_SUCCESS) {
index c4bea74f86f906914643d0a89e6853cf7cdb7d86..a5cea43b8bc115cd95c4973cefc3d1d3d6178ae5 100644 (file)
@@ -129,7 +129,7 @@ void PSvDisablePowerSaving(struct vnt_private *pDevice)
 {
 
        /* disable power saving hw function */
-       CONTROLnsRequestOut(pDevice, MESSAGE_TYPE_DISABLE_PS, 0,
+       vnt_control_out(pDevice, MESSAGE_TYPE_DISABLE_PS, 0,
                                                0, 0, NULL);
 
        /* clear AutoSleep */
index 7217f2c8bb042dc0b55cfcda62bb15d2ea5dd4cd..58ea16c8767d2882ab5b489f82d728f43d405718 100644 (file)
@@ -715,7 +715,7 @@ int IFRFbWriteEmbedded(struct vnt_private *pDevice, u32 dwData)
        pbyData[2] = (u8)(dwData >> 16);
        pbyData[3] = (u8)(dwData >> 24);
 
-       CONTROLnsRequestOut(pDevice,
+       vnt_control_out(pDevice,
                MESSAGE_TYPE_WRITE_IFRF, 0, 0, 4, pbyData);
 
        return true;
@@ -1046,7 +1046,7 @@ void RFbRFTableDownload(struct vnt_private *priv)
        /* Init Table */
        memcpy(array, addr1, length1);
 
-       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE, 0,
+       vnt_control_out(priv, MESSAGE_TYPE_WRITE, 0,
                MESSAGE_REQUEST_RF_INIT, length1, array);
 
        /* Channel Table 0 */
@@ -1059,7 +1059,7 @@ void RFbRFTableDownload(struct vnt_private *priv)
 
                memcpy(array, addr2, length);
 
-               CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE,
+               vnt_control_out(priv, MESSAGE_TYPE_WRITE,
                        value, MESSAGE_REQUEST_RF_CH0, length, array);
 
                length2 -= length;
@@ -1077,7 +1077,7 @@ void RFbRFTableDownload(struct vnt_private *priv)
 
                memcpy(array, addr3, length);
 
-               CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE,
+               vnt_control_out(priv, MESSAGE_TYPE_WRITE,
                        value, MESSAGE_REQUEST_RF_CH1, length, array);
 
                length3 -= length;
@@ -1094,7 +1094,7 @@ void RFbRFTableDownload(struct vnt_private *priv)
                memcpy(array, addr1, length1);
 
                /* Init Table 2 */
-               CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE,
+               vnt_control_out(priv, MESSAGE_TYPE_WRITE,
                        0, MESSAGE_REQUEST_RF_INIT2, length1, array);
 
                /* Channel Table 0 */
@@ -1107,7 +1107,7 @@ void RFbRFTableDownload(struct vnt_private *priv)
 
                        memcpy(array, addr2, length);
 
-                       CONTROLnsRequestOut(priv, MESSAGE_TYPE_WRITE,
+                       vnt_control_out(priv, MESSAGE_TYPE_WRITE,
                                value, MESSAGE_REQUEST_RF_CH2, length, array);
 
                        length2 -= length;
index 2dfa16e3ad016f9fef6cd28a2f7f4ea6f136f7d4..443338eb18bfeb6b034a47e77b291307f1a8381e 100644 (file)
@@ -26,7 +26,7 @@
  * Date: Mar. 29, 2005
  *
  * Functions:
- *      CONTROLnsRequestOut - Write variable length bytes to MEM/BB/MAC/EEPROM
+ *     vnt_control_out - Write variable length bytes to MEM/BB/MAC/EEPROM
  *      CONTROLnsRequestIn - Read variable length bytes from MEM/BB/MAC/EEPROM
  *      ControlvWriteByte - Write one byte to MEM/BB/MAC/EEPROM
  *      ControlvReadByte - Read one byte from MEM/BB/MAC/EEPROM
@@ -61,7 +61,7 @@ static void s_nsInterruptUsbIoCompleteRead(struct urb *urb);
 static void s_nsBulkInUsbIoCompleteRead(struct urb *urb);
 static void s_nsBulkOutIoCompleteWrite(struct urb *urb);
 
-int PIPEnsControlOut(struct vnt_private *priv, u8 request, u16 value,
+int vnt_control_out(struct vnt_private *priv, u8 request, u16 value,
                u16 index, u16 length, u8 *buffer)
 {
        int status = 0;
index 42ad4f73243c0ece8d05d1e55dba0149f2743426..6ca250f8aeaf92e1f9b7f9d7021761d0295d3fa0 100644 (file)
@@ -32,8 +32,7 @@
 
 #include "device.h"
 
-int PIPEnsControlOut(struct vnt_private *, u8 byRequest, u16 wValue,
-               u16 wIndex, u16 wLength, u8 *pbyBuffer);
+int vnt_control_out(struct vnt_private *, u8, u16, u16, u16, u8 *);
 int PIPEnsControlIn(struct vnt_private *, u8 byRequest, u16 wValue,
        u16 wIndex, u16 wLength,  u8 *pbyBuffer);
 
index ff4e4ae0485d89e5f31ea4057ec4371c60dfc56f..99477944c045e1ac5b16fbb76f4a7538ca5e3ac7 100644 (file)
@@ -852,7 +852,7 @@ void vRunCommand(struct work_struct *work)
                ControlvReadByte(pDevice, MESSAGE_REQUEST_MACREG, MAC_REG_PSCTL, &byData);
                if ((byData & PSCTL_PS) != 0) {
                        // disable power saving hw function
-                       CONTROLnsRequestOut(pDevice,
+                       vnt_control_out(pDevice,
                                        MESSAGE_TYPE_DISABLE_PS,
                                        0,
                                        0,