Commit 947f9a02 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

staging:vt6655:tether: Whitespace cleanups

Neatening only.
git diff -w shows no differences.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9eb6c753
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
* Return Value: Hash value * Return Value: Hash value
* *
*/ */
unsigned char ETHbyGetHashIndexByCrc32 (unsigned char *pbyMultiAddr) unsigned char ETHbyGetHashIndexByCrc32(unsigned char *pbyMultiAddr)
{ {
int ii; int ii;
unsigned char byTmpHash; unsigned char byTmpHash;
...@@ -96,7 +96,7 @@ unsigned char ETHbyGetHashIndexByCrc32 (unsigned char *pbyMultiAddr) ...@@ -96,7 +96,7 @@ unsigned char ETHbyGetHashIndexByCrc32 (unsigned char *pbyMultiAddr)
* Return Value: true if ok; false if error. * Return Value: true if ok; false if error.
* *
*/ */
bool ETHbIsBufferCrc32Ok (unsigned char *pbyBuffer, unsigned int cbFrameLength) bool ETHbIsBufferCrc32Ok(unsigned char *pbyBuffer, unsigned int cbFrameLength)
{ {
unsigned long dwCRC; unsigned long dwCRC;
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
// constants // constants
// //
#define U_ETHER_ADDR_STR_LEN (ETH_ALEN * 2 + 1) #define U_ETHER_ADDR_STR_LEN (ETH_ALEN * 2 + 1)
// Ethernet address string length // Ethernet address string length
#define MAX_LOOKAHEAD_SIZE ETH_FRAME_LEN #define MAX_LOOKAHEAD_SIZE ETH_FRAME_LEN
...@@ -154,7 +154,7 @@ typedef struct tagSEthernetHeader { ...@@ -154,7 +154,7 @@ typedef struct tagSEthernetHeader {
unsigned char abyDstAddr[ETH_ALEN]; unsigned char abyDstAddr[ETH_ALEN];
unsigned char abySrcAddr[ETH_ALEN]; unsigned char abySrcAddr[ETH_ALEN];
unsigned short wType; unsigned short wType;
}__attribute__ ((__packed__)) } __attribute__ ((__packed__))
SEthernetHeader, *PSEthernetHeader; SEthernetHeader, *PSEthernetHeader;
...@@ -165,7 +165,7 @@ typedef struct tagS802_3Header { ...@@ -165,7 +165,7 @@ typedef struct tagS802_3Header {
unsigned char abyDstAddr[ETH_ALEN]; unsigned char abyDstAddr[ETH_ALEN];
unsigned char abySrcAddr[ETH_ALEN]; unsigned char abySrcAddr[ETH_ALEN];
unsigned short wLen; unsigned short wLen;
}__attribute__ ((__packed__)) } __attribute__ ((__packed__))
S802_3Header, *PS802_3Header; S802_3Header, *PS802_3Header;
// //
...@@ -179,7 +179,7 @@ typedef struct tagS802_11Header { ...@@ -179,7 +179,7 @@ typedef struct tagS802_11Header {
unsigned char abyAddr3[ETH_ALEN]; unsigned char abyAddr3[ETH_ALEN];
unsigned short wSeqCtl; unsigned short wSeqCtl;
unsigned char abyAddr4[ETH_ALEN]; unsigned char abyAddr4[ETH_ALEN];
}__attribute__ ((__packed__)) } __attribute__ ((__packed__))
S802_11Header, *PS802_11Header; S802_11Header, *PS802_11Header;
/*--------------------- Export Macros ------------------------------*/ /*--------------------- Export Macros ------------------------------*/
......
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