Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net80211 remove trailing space



details:   https://anonhg.NetBSD.org/src/rev/ad9e17f45a5e
branches:  trunk
changeset: 785803:ad9e17f45a5e
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Mar 30 03:24:55 2013 +0000

description:
remove trailing space

diffstat:

 sys/net80211/ieee80211_crypto_ccmp.c |   6 +++---
 sys/net80211/ieee80211_input.c       |  28 ++++++++++++++--------------
 2 files changed, 17 insertions(+), 17 deletions(-)

diffs (145 lines):

diff -r 84b0d6ac70fe -r ad9e17f45a5e sys/net80211/ieee80211_crypto_ccmp.c
--- a/sys/net80211/ieee80211_crypto_ccmp.c      Sat Mar 30 03:22:14 2013 +0000
+++ b/sys/net80211/ieee80211_crypto_ccmp.c      Sat Mar 30 03:24:55 2013 +0000
@@ -34,7 +34,7 @@
 __FBSDID("$FreeBSD: src/sys/net80211/ieee80211_crypto_ccmp.c,v 1.7 2005/07/11 03:06:23 sam Exp $");
 #endif
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_crypto_ccmp.c,v 1.8 2008/12/17 20:51:37 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_crypto_ccmp.c,v 1.9 2013/03/30 03:24:55 christos Exp $");
 #endif
 
 /*
@@ -45,8 +45,8 @@
  * it's license is included below.
  */
 #include <sys/param.h>
-#include <sys/systm.h> 
-#include <sys/mbuf.h>   
+#include <sys/systm.h>
+#include <sys/mbuf.h>  
 #include <sys/malloc.h>
 #include <sys/kernel.h>
 
diff -r 84b0d6ac70fe -r ad9e17f45a5e sys/net80211/ieee80211_input.c
--- a/sys/net80211/ieee80211_input.c    Sat Mar 30 03:22:14 2013 +0000
+++ b/sys/net80211/ieee80211_input.c    Sat Mar 30 03:24:55 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieee80211_input.c,v 1.73 2013/01/10 17:40:10 christos Exp $    */
+/*     $NetBSD: ieee80211_input.c,v 1.74 2013/03/30 03:24:55 christos Exp $    */
 /*-
  * Copyright (c) 2001 Atsushi Onoe
  * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -36,7 +36,7 @@
 __FBSDID("$FreeBSD: src/sys/net80211/ieee80211_input.c,v 1.81 2005/08/10 16:22:29 sam Exp $");
 #endif
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_input.c,v 1.73 2013/01/10 17:40:10 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_input.c,v 1.74 2013/03/30 03:24:55 christos Exp $");
 #endif
 
 #include "opt_inet.h"
@@ -46,11 +46,11 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/mbuf.h>   
+#include <sys/mbuf.h>  
 #include <sys/malloc.h>
 #include <sys/endian.h>
 #include <sys/kernel.h>
- 
+
 #include <sys/socket.h>
 #include <sys/sockio.h>
 #include <sys/endian.h>
@@ -70,7 +70,7 @@
 #include <net/bpf.h>
 
 #ifdef INET
-#include <netinet/in.h> 
+#include <netinet/in.h>
 #include <net/if_ether.h>
 #endif
 
@@ -919,7 +919,7 @@
                ic->ic_stats.is_rx_bad_auth++;  /* XXX */
                if (ic->ic_opmode == IEEE80211_M_HOSTAP) {
                        /* XXX hack to workaround calling convention */
-                       ieee80211_send_error(ic, ni, wh->i_addr2, 
+                       ieee80211_send_error(ic, ni, wh->i_addr2,
                            IEEE80211_FC0_SUBTYPE_AUTH,
                            (seq + 1) | (IEEE80211_STATUS_ALG<<16));
                }
@@ -1340,7 +1340,7 @@
 } while (0)
 #endif /* !IEEE80211_DEBUG */
 
-/* unalligned little endian access */     
+/* unalligned little endian access */    
 #define LE_READ_2(p)                                   \
        ((u_int16_t)                                    \
         ((((const u_int8_t *)(p))[0]      ) |          \
@@ -1618,7 +1618,7 @@
        int n;
 
        /*
-        * Check the length once for fixed parts: 
+        * Check the length once for fixed parts:
         * version, mcast cipher, and 2 selector counts.
         * Other, variable-length data, must be checked separately.
         */
@@ -1686,7 +1686,7 @@
        n = LE_READ_2(frm);
        frm += 2, len -= 2;
        if (len < n*4) {
-               IEEE80211_DISCARD_IE(ic, 
+               IEEE80211_DISCARD_IE(ic,
                    IEEE80211_MSG_ELEMID | IEEE80211_MSG_WPA,
                    wh, "RSN", "key mgmt alg data too short; len %u, n %u",
                    len, n);
@@ -1861,7 +1861,7 @@
                 *      updates such as 802.11g slot time), or
                 *    o adhoc mode (to discover neighbors)
                 * Frames otherwise received are discarded.
-                */ 
+                */
                if (!((ic->ic_flags & IEEE80211_F_SCAN) ||
                      (ic->ic_opmode == IEEE80211_M_STA && ni->ni_associd) ||
                       ic->ic_opmode == IEEE80211_M_IBSS)) {
@@ -2249,7 +2249,7 @@
                        }
 #endif /* !IEEE80211_NO_HOSTAP */
                        return;
-               } 
+               }
                break;
        }
 
@@ -2348,7 +2348,7 @@
                        ieee80211_node_leave(ic, ni);
                        /* XXX distinguish WPA/RSN? */
                        ic->ic_stats.is_rx_assoc_badwpaie++;
-                       return; 
+                       return;
                }
                if (wpa != NULL) {
                        /*
@@ -2723,7 +2723,7 @@
                IEEE80211_NODE_SAVEQ_DEQUEUE(ni, m, qlen);
                if (m == NULL)
                        break;
-               /* 
+               /*
                 * If this is the last packet, turn off the TIM bit.
                 * If there are more packets, set the more packets bit
                 * in the mbuf so ieee80211_encap will mark the 802.11
@@ -2786,7 +2786,7 @@
                        ic->ic_set_tim(ni, 0);  /* just in case */
                return;
        }
-       /* 
+       /*
         * If there are more packets, set the more packets bit
         * in the packet dispatched to the station; otherwise
         * turn off the TIM bit.



Home | Main Index | Thread Index | Old Index