Staging: wlan-ng: Fixed 80-character line coding style issues in p80211req.c
authorPatrick Rooney <candyguitar@googlemail.com>
Wed, 10 Mar 2010 08:46:30 +0000 (08:46 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:35:35 +0000 (11:35 -0700)
This is a patch for p80211req.c. An 'if' statement that spanned 80
characters has been split onto 2 lines and one of the tabs preceding
a comment has been removed.

Signed-off-by: Patrick Rooney <candyguitar@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlan-ng/p80211req.c

index e1e7bf1bf27c6eb058e4468f07bf9aadbe073bf9..207f080cfc9e0c2589bcd0f61d883e501e169764 100644 (file)
@@ -107,7 +107,8 @@ int p80211req_dorequest(wlandevice_t *wlandev, u8 *msgbuf)
        }
 
        /* Check Permissions */
-       if (!capable(CAP_NET_ADMIN) && (msg->msgcode != DIDmsg_dot11req_mibget)) {
+       if (!capable(CAP_NET_ADMIN) &&
+       (msg->msgcode != DIDmsg_dot11req_mibget)) {
                printk(KERN_ERR
                       "%s: only dot11req_mibget allowed for non-root.\n",
                       wlandev->name);
@@ -128,7 +129,7 @@ int p80211req_dorequest(wlandevice_t *wlandev, u8 *msgbuf)
                wlandev->mlmerequest(wlandev, msg);
 
        clear_bit(1, &(wlandev->request_pending));
-       return result;          /* if result==0, msg->status still may contain an err */
+       return result;  /* if result==0, msg->status still may contain an err */
 }
 
 /*----------------------------------------------------------------