Commit e7b07d1d authored by Andres More's avatar Andres More Committed by Greg Kroah-Hartman

Staging: vt6656: code cleanup, fixed comments style at the end of headers

Signed-off-by: default avatarAndres More <more.andres@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8611a29a
...@@ -43,4 +43,4 @@ ...@@ -43,4 +43,4 @@
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
BOOL AESbGenCCMP(PBYTE pbyRxKey, PBYTE pbyFrame, WORD wFrameSize); BOOL AESbGenCCMP(PBYTE pbyRxKey, PBYTE pbyFrame, WORD wFrameSize);
#endif //__AES_H__ #endif /* __AES_CCMP_H__ */
...@@ -143,4 +143,4 @@ void BBvUpdatePreEDThreshold( ...@@ -143,4 +143,4 @@ void BBvUpdatePreEDThreshold(
BOOL bScanning BOOL bScanning
); );
#endif // __BASEBAND_H__ #endif /* __BASEBAND_H__ */
...@@ -356,4 +356,4 @@ BSSvClearAnyBSSJoinRecord( ...@@ -356,4 +356,4 @@ BSSvClearAnyBSSJoinRecord(
HANDLE hDeviceContext HANDLE hDeviceContext
); );
#endif //__BSSDB_H__ #endif /* __BSSDB_H__ */
...@@ -91,7 +91,4 @@ CARDbChannelSwitch ( ...@@ -91,7 +91,4 @@ CARDbChannelSwitch (
BYTE byCount BYTE byCount
); );
#endif // __CARD_H__ #endif /* __CARD_H__ */
...@@ -77,7 +77,4 @@ void ControlvMaskByte( ...@@ -77,7 +77,4 @@ void ControlvMaskByte(
BYTE byData BYTE byData
); );
#endif // __RCV_H__ #endif /* __CONTROL_H__ */
...@@ -106,5 +106,4 @@ DATARATEbyGetRateIdx( ...@@ -106,5 +106,4 @@ DATARATEbyGetRateIdx(
BYTE byRate BYTE byRate
); );
#endif /* __DATARATE_H__ */
#endif //__DATARATE_H__
...@@ -436,8 +436,4 @@ SKeyEntry; ...@@ -436,8 +436,4 @@ SKeyEntry;
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
#endif /* __DESC_H__ */
#endif // __DESC_H__
...@@ -58,7 +58,4 @@ RXbBulkInProcessData( ...@@ -58,7 +58,4 @@ RXbBulkInProcessData(
ULONG BytesToIndicate ULONG BytesToIndicate
); );
#endif // __RXTX_H__ #endif /* __RXTX_H__ */
...@@ -56,5 +56,4 @@ FIRMWAREbCheckVersion( ...@@ -56,5 +56,4 @@ FIRMWAREbCheckVersion(
PSDevice pDevice PSDevice pDevice
); );
#endif /* __FIRMWARE_H__ */
#endif // __FIRMWARE_H__
...@@ -64,7 +64,4 @@ ...@@ -64,7 +64,4 @@
int vt6656_hostap_set_hostapd(PSDevice pDevice, int val, int rtnl_locked); int vt6656_hostap_set_hostapd(PSDevice pDevice, int val, int rtnl_locked);
int vt6656_hostap_ioctl(PSDevice pDevice, struct iw_point *p); int vt6656_hostap_ioctl(PSDevice pDevice, struct iw_point *p);
#endif // __HOSTAP_H__ #endif /* __HOSTAP_H__ */
...@@ -74,7 +74,4 @@ INTnsProcessData( ...@@ -74,7 +74,4 @@ INTnsProcessData(
PSDevice pDevice PSDevice pDevice
); );
#endif // __INT_H__ #endif /* __INT_H__ */
...@@ -470,6 +470,4 @@ struct viawget_hostapd_param { ...@@ -470,6 +470,4 @@ struct viawget_hostapd_param {
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
#endif /* __IOCMD_H__ */
#endif //__IOCMD_H__
...@@ -51,7 +51,4 @@ void vConfigWEPKey ( ...@@ -51,7 +51,4 @@ void vConfigWEPKey (
); );
*/ */
#endif // __IOCTL_H__ #endif /* __IOCTL_H__ */
...@@ -153,6 +153,4 @@ struct viawget_scan_result { ...@@ -153,6 +153,4 @@ struct viawget_scan_result {
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
#endif /* __IOWPA_H__ */
#endif //__IOWPA_H__
...@@ -223,7 +223,4 @@ int iwctl_siwmlme(struct net_device *dev, ...@@ -223,7 +223,4 @@ int iwctl_siwmlme(struct net_device *dev,
extern const struct iw_handler_def iwctl_handler_def; extern const struct iw_handler_def iwctl_handler_def;
extern const struct iw_priv_args iwctl_private_args; extern const struct iw_priv_args iwctl_private_args;
#endif // __IWCTL_H__ #endif /* __IWCTL_H__ */
...@@ -173,5 +173,4 @@ BOOL KeybSetAllGroupKey( ...@@ -173,5 +173,4 @@ BOOL KeybSetAllGroupKey(
BYTE byKeyDecMode BYTE byKeyDecMode
); );
#endif // __KEY_H__ #endif /* __KEY_H__ */
...@@ -439,4 +439,4 @@ void MACvEnableBarkerPreambleMd(PSDevice pDevice); ...@@ -439,4 +439,4 @@ void MACvEnableBarkerPreambleMd(PSDevice pDevice);
void MACvDisableBarkerPreambleMd(PSDevice pDevice); void MACvDisableBarkerPreambleMd(PSDevice pDevice);
void MACvWriteBeaconInterval(PSDevice pDevice, WORD wInterval); void MACvWriteBeaconInterval(PSDevice pDevice, WORD wInterval);
#endif // __MAC_H__ #endif /* __MAC_H__ */
...@@ -417,7 +417,4 @@ STAvUpdateUSBCounter( ...@@ -417,7 +417,4 @@ STAvUpdateUSBCounter(
NTSTATUS ntStatus NTSTATUS ntStatus
); );
#endif // __MIB_H__ #endif /* __MIB_H__ */
...@@ -53,6 +53,4 @@ void MIC_vGetMIC(PDWORD pdwL, PDWORD pdwR); ...@@ -53,6 +53,4 @@ void MIC_vGetMIC(PDWORD pdwL, PDWORD pdwR);
( ((A) << (n)) | ( ((A)>>(32-(n))) & ( (1UL << (n)) - 1 ) ) ) ( ((A) << (n)) | ( ((A)>>(32-(n))) & ( (1UL << (n)) - 1 ) ) )
#define ROR32( A, n ) ROL32( (A), 32-(n) ) #define ROR32( A, n ) ROL32( (A), 32-(n) )
#endif //__MICHAEL_H__ #endif /* __MICHAEL_H__ */
...@@ -81,4 +81,4 @@ PSbIsNextTBTTWakeUp( ...@@ -81,4 +81,4 @@ PSbIsNextTBTTWakeUp(
HANDLE hDeviceContext HANDLE hDeviceContext
); );
#endif //__POWER_H__ #endif /* __POWER_H__ */
...@@ -44,4 +44,4 @@ void rc4_init(PRC4Ext pRC4, PBYTE pbyKey, UINT cbKey_len); ...@@ -44,4 +44,4 @@ void rc4_init(PRC4Ext pRC4, PBYTE pbyKey, UINT cbKey_len);
UINT rc4_byte(PRC4Ext pRC4); UINT rc4_byte(PRC4Ext pRC4);
void rc4_encrypt(PRC4Ext pRC4, PBYTE pbyDest, PBYTE pbySrc, UINT cbData_len); void rc4_encrypt(PRC4Ext pRC4, PBYTE pbyDest, PBYTE pbySrc, UINT cbData_len);
#endif //__RC4_H__ #endif /* __RC4_H__ */
...@@ -94,7 +94,4 @@ BOOL s_bVT3226D0_11bLoCurrentAdjust( ...@@ -94,7 +94,4 @@ BOOL s_bVT3226D0_11bLoCurrentAdjust(
BOOL b11bMode BOOL b11bMode
); );
#endif // __RF_H__ #endif /* __RF_H__ */
...@@ -158,5 +158,4 @@ typedef struct _CMD_CHANGE_BBTYPE ...@@ -158,5 +158,4 @@ typedef struct _CMD_CHANGE_BBTYPE
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
#endif /* _RNDIS_H_ */
#endif // _RNDIS_H_
...@@ -688,7 +688,4 @@ CMD_STATUS csMgmt_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket); ...@@ -688,7 +688,4 @@ CMD_STATUS csMgmt_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket);
CMD_STATUS csBeacon_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket); CMD_STATUS csBeacon_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket);
BOOL bRelayPacketSend(PSDevice pDevice, PBYTE pbySkbData, UINT uDataLen, UINT uNodeIndex); BOOL bRelayPacketSend(PSDevice pDevice, PBYTE pbySkbData, UINT uDataLen, UINT uNodeIndex);
#endif // __RXTX_H__ #endif /* __RXTX_H__ */
...@@ -124,4 +124,4 @@ typedef struct tagSSromReg { ...@@ -124,4 +124,4 @@ typedef struct tagSSromReg {
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
#endif // __EEPROM_H__ #endif /* __EEPROM_H__ */
...@@ -47,7 +47,4 @@ DWORD CRCdwCrc32(PBYTE pbyData, UINT cbByte, DWORD dwCrcSeed); ...@@ -47,7 +47,4 @@ DWORD CRCdwCrc32(PBYTE pbyData, UINT cbByte, DWORD dwCrcSeed);
DWORD CRCdwGetCrc32(PBYTE pbyData, UINT cbByte); DWORD CRCdwGetCrc32(PBYTE pbyData, UINT cbByte);
DWORD CRCdwGetCrc32Ex(PBYTE pbyData, UINT cbByte, DWORD dwPreCRC); DWORD CRCdwGetCrc32Ex(PBYTE pbyData, UINT cbByte, DWORD dwPreCRC);
#endif // __TCRC_H__ #endif /* __TCRC_H__ */
...@@ -230,7 +230,4 @@ BYTE ETHbyGetHashIndexByCrc32(PBYTE pbyMultiAddr); ...@@ -230,7 +230,4 @@ BYTE ETHbyGetHashIndexByCrc32(PBYTE pbyMultiAddr);
//BYTE ETHbyGetHashIndexByCrc(PBYTE pbyMultiAddr); //BYTE ETHbyGetHashIndexByCrc(PBYTE pbyMultiAddr);
BOOL ETHbIsBufferCrc32Ok(PBYTE pbyBuffer, UINT cbFrameLength); BOOL ETHbIsBufferCrc32Ok(PBYTE pbyBuffer, UINT cbFrameLength);
#endif // __TETHER_H__ #endif /* __TETHER_H__ */
...@@ -54,7 +54,4 @@ void TKIPvMixKey( ...@@ -54,7 +54,4 @@ void TKIPvMixKey(
PBYTE pbyRC4Key PBYTE pbyRC4Key
); );
#endif // __TKIP_H__ #endif /* __TKIP_H__ */
...@@ -57,6 +57,4 @@ ...@@ -57,6 +57,4 @@
#define MAKEDWORD(lw, hw) ((DWORD)(((WORD)(lw)) | (((DWORD)((WORD)(hw))) << 16))) #define MAKEDWORD(lw, hw) ((DWORD)(((WORD)(lw)) | (((DWORD)((WORD)(hw))) << 16)))
#endif #endif
#endif // __TMACRO_H__ #endif /* __TMACRO_H__ */
...@@ -149,4 +149,4 @@ typedef void *HANDLE; ...@@ -149,4 +149,4 @@ typedef void *HANDLE;
typedef void *HANDLE; typedef void *HANDLE;
#endif #endif
#endif // __TTYPE_H__ #endif /* __TTYPE_H__ */
...@@ -159,8 +159,4 @@ ...@@ -159,8 +159,4 @@
/*--------------------- Export Functions --------------------------*/ /*--------------------- Export Functions --------------------------*/
#endif /* __UPC_H__ */
#endif // __UPC_H__
...@@ -93,7 +93,4 @@ PIPEnsSendBulkOut( ...@@ -93,7 +93,4 @@ PIPEnsSendBulkOut(
PUSB_SEND_CONTEXT pContext PUSB_SEND_CONTEXT pContext
); );
#endif // __USBPIPE_H__ #endif /* __USBPIPE_H__ */
...@@ -147,4 +147,4 @@ BSSvSecondTxData( ...@@ -147,4 +147,4 @@ BSSvSecondTxData(
); );
#endif #endif
#endif //__WCMD_H__ #endif /* __WCMD_H__ */
...@@ -102,7 +102,4 @@ BOOL WCTLbHandleFragment(PSDevice pDevice, PS802_11Header pMACHeader, UINT cbFra ...@@ -102,7 +102,4 @@ BOOL WCTLbHandleFragment(PSDevice pDevice, PS802_11Header pMACHeader, UINT cbFra
UINT WCTLuSearchDFCB(PSDevice pDevice, PS802_11Header pMACHeader); UINT WCTLuSearchDFCB(PSDevice pDevice, PS802_11Header pMACHeader);
UINT WCTLuInsertDFCB(PSDevice pDevice, PS802_11Header pMACHeader); UINT WCTLuInsertDFCB(PSDevice pDevice, PS802_11Header pMACHeader);
#endif // __WCTL_H__ #endif /* __WCTL_H__ */
...@@ -498,4 +498,4 @@ vFlush_PMKID_Candidate ( ...@@ -498,4 +498,4 @@ vFlush_PMKID_Candidate (
HANDLE hDeviceContext HANDLE hDeviceContext
); );
#endif // __WMGR_H__ #endif /* __WMGR_H__ */
...@@ -81,4 +81,4 @@ WPAb_Is_RSN( ...@@ -81,4 +81,4 @@ WPAb_Is_RSN(
PWLAN_IE_RSN_EXT pRSN PWLAN_IE_RSN_EXT pRSN
); );
#endif // __WPA_H__ #endif /* __WPA_H__ */
...@@ -75,4 +75,4 @@ WPA2uSetIEs( ...@@ -75,4 +75,4 @@ WPA2uSetIEs(
OUT PWLAN_IE_RSN pRSNIEs OUT PWLAN_IE_RSN pRSNIEs
); );
#endif // __WPA2_H__ #endif /* __WPA2_H__ */
...@@ -66,7 +66,4 @@ int wpa_set_wpadev(PSDevice pDevice, int val); ...@@ -66,7 +66,4 @@ int wpa_set_wpadev(PSDevice pDevice, int val);
int wpa_ioctl(PSDevice pDevice, struct iw_point *p); int wpa_ioctl(PSDevice pDevice, struct iw_point *p);
int wpa_set_keys(PSDevice pDevice, void *ctx, BOOL fcpfkernel); int wpa_set_keys(PSDevice pDevice, void *ctx, BOOL fcpfkernel);
#endif // __WPACL_H__ #endif /* __WPACL_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment