]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: wlan-ng: fix 2 space coding style issues
authorAdam Thompson <adam@lotpblog.com>
Sat, 29 Jan 2011 07:08:50 +0000 (02:08 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 31 Jan 2011 22:12:18 +0000 (14:12 -0800)
This patch to p80211conv.c fixes to space coding style warnings found
with checkpatch.pl

Signed-off-by: Adam Thompson <adam@lotpblog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlan-ng/p80211conv.c

index 146f3651b6f246fbace11a41b41fac33368c3eac..f53a27a2e3fe502f033784bb43d8445003bcf932 100644 (file)
@@ -379,7 +379,7 @@ int skb_p80211_to_ether(wlandevice_t *wlandev, u32 ethconv,
 
        } else if ((payload_length >= sizeof(struct wlan_llc) +
                sizeof(struct wlan_snap))
-               &&(e_llc->dsap == 0xaa)
+               && (e_llc->dsap == 0xaa)
                && (e_llc->ssap == 0xaa)
                && (e_llc->ctl == 0x03)
                   &&
@@ -415,7 +415,7 @@ int skb_p80211_to_ether(wlandevice_t *wlandev, u32 ethconv,
 
        } else if ((payload_length >= sizeof(struct wlan_llc) +
                sizeof(struct wlan_snap))
-               &&(e_llc->dsap == 0xaa)
+               && (e_llc->dsap == 0xaa)
                && (e_llc->ssap == 0xaa)
                && (e_llc->ctl == 0x03)) {
                pr_debug("802.1h/RFC1042 len: %d\n", payload_length);