mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 06:43:06 +00:00
rtl8188eu: Change "switch(" to "switch ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
8e22f0d2e8
commit
c818db1282
35 changed files with 170 additions and 170 deletions
|
@ -661,7 +661,7 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
|
|||
return -1;
|
||||
}
|
||||
|
||||
switch(method) {
|
||||
switch (method) {
|
||||
case NAT25_CHECK:
|
||||
return -1;
|
||||
|
||||
|
@ -734,7 +734,7 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
|
|||
return -1;
|
||||
}
|
||||
|
||||
switch(method)
|
||||
switch (method)
|
||||
{
|
||||
case NAT25_CHECK:
|
||||
return 0; /* skb_copy for all ARP frame */
|
||||
|
@ -868,7 +868,7 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
|
|||
/* IPX */
|
||||
if (ipx != NULL)
|
||||
{
|
||||
switch(method)
|
||||
switch (method)
|
||||
{
|
||||
case NAT25_CHECK:
|
||||
if (!memcmp(skb->data+ETH_ALEN, ipx->ipx_source.node, ETH_ALEN))
|
||||
|
@ -955,7 +955,7 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
|
|||
return -1;
|
||||
}
|
||||
|
||||
switch(method)
|
||||
switch (method)
|
||||
{
|
||||
case NAT25_CHECK:
|
||||
return 0;
|
||||
|
@ -1004,7 +1004,7 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
|
|||
/* DDP */
|
||||
else if (ddp != NULL)
|
||||
{
|
||||
switch(method)
|
||||
switch (method)
|
||||
{
|
||||
case NAT25_CHECK:
|
||||
return -1;
|
||||
|
@ -1056,7 +1056,7 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
|
|||
struct pppoe_hdr *ph = (struct pppoe_hdr *)(skb->data + ETH_HLEN);
|
||||
__be16 *pMagic;
|
||||
|
||||
switch(method)
|
||||
switch (method)
|
||||
{
|
||||
case NAT25_CHECK:
|
||||
if (ph->sid == 0)
|
||||
|
@ -1221,7 +1221,7 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
|
|||
/*---------------------------------------------------*/
|
||||
else if (protocol == 0x888e)
|
||||
{
|
||||
switch(method)
|
||||
switch (method)
|
||||
{
|
||||
case NAT25_CHECK:
|
||||
return -1;
|
||||
|
@ -1243,7 +1243,7 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
|
|||
else if ((protocol == 0xe2ae) ||
|
||||
(protocol == 0xe2af))
|
||||
{
|
||||
switch(method)
|
||||
switch (method)
|
||||
{
|
||||
case NAT25_CHECK:
|
||||
return -1;
|
||||
|
@ -1273,7 +1273,7 @@ int nat25_db_handle(struct adapter *priv, struct sk_buff *skb, int method)
|
|||
return -1;
|
||||
}
|
||||
|
||||
switch(method)
|
||||
switch (method)
|
||||
{
|
||||
case NAT25_CHECK:
|
||||
if (skb->data[0] & 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue