[MAC80211]: clean up whitespace
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 28 Aug 2007 21:01:55 +0000 (17:01 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:48:55 +0000 (16:48 -0700)
This cleans up some whitespace to make the mac80211
version in mainline diverge less from wireless-dev.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/ieee80211_ioctl.c
net/mac80211/ieee80211_sta.c
net/mac80211/wme.c
net/mac80211/wpa.c

index d48f3aa30e306aa6f39d73fd8f4f3a3dffa68da3..383ad5f64c1f0646e750093ad6e27bdfefed00f2 100644 (file)
@@ -968,6 +968,7 @@ static int ieee80211_ioctl_get_prism2_param(struct net_device *dev,
                        *param = !!(sdata->u.sta.flags &
                                        IEEE80211_STA_MIXED_CELL);
                break;
+
        case PRISM2_PARAM_WMM_ENABLED:
                if (sdata->type != IEEE80211_IF_TYPE_STA &&
                    sdata->type != IEEE80211_IF_TYPE_IBSS)
index a2443271629a571f602643fe9ce07fc0a1c873d0..f98b2e1cedf34fb20b75c2cc21051bb4f762d6ff 100644 (file)
@@ -234,7 +234,6 @@ static int ecw2cw(int ecw)
        return cw - 1;
 }
 
-
 static void ieee80211_sta_wmm_params(struct net_device *dev,
                                     struct ieee80211_if_sta *ifsta,
                                     u8 *wmm_param, size_t wmm_param_len)
index d303229249e79541b5c975f93ca0dba46dd4ec8d..fcc8921722f428e4151c27a7d62c241f53390688 100644 (file)
@@ -125,14 +125,13 @@ static inline int classify80211(struct sk_buff *skb, struct Qdisc *qd)
        }
 
        /* use the data classifier to determine what 802.1d tag the
-       * data frame has */
+        * data frame has */
        skb->priority = classify_1d(skb, qd);
 
-       /* incase we are a client verify acm is not set for this ac */
+       /* in case we are a client verify acm is not set for this ac */
        while (unlikely(local->wmm_acm & BIT(skb->priority))) {
                if (wme_downgrade_ac(skb)) {
-                       /* No AC with lower priority has acm=0,
-                       * drop packet. */
+                       /* No AC with lower priority has acm=0, drop packet. */
                        return -1;
                }
        }
index b6cd66e0ee5852c4fcc2fbb141c0f849f07ee3d4..775f89e42a43e7325082a0b0e4b392e2fdc6c741 100644 (file)
@@ -550,7 +550,6 @@ ieee80211_tx_h_ccmp_encrypt(struct ieee80211_txrx_data *tx)
 
        if (tx->u.tx.extra_frag) {
                int i;
-
                for (i = 0; i < tx->u.tx.num_extra_frag; i++) {
                        if (ccmp_encrypt_skb(tx, tx->u.tx.extra_frag[i], test)
                            < 0)