Staging: wlan-ng: Fixed 80-character line coding style issues in p80211req.c
PATCH 1/1 Staging: wlan-ng: Fixed 80-character line coding style issues in p80211req.c
Sorry to add this as an attachment, but copying and pasting corrupts the patch, and git is telling me that: "git: 'send-email' is not a git-command. See 'git --help'." (was following the instructions in
http://www.tuxradar.com/content/newbies-guide-hacking-linux-kernel; I use Ubuntu 9.10).
From c8b956371f66d43dfae27de23d8dbb8af630b9c1 Mon Sep 17 00:00:00 2001
From: Candyguitar <[email protected]>
Date: Wed, 10 Mar 2010 07:44:32 +0000
Subject: [PATCH] Staging: wlan-ng: Fixed 80-character line coding style issues in p80211req.c
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.
--- drivers/staging/wlan-ng/p80211req.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
drivers/staging/wlan-ng/p80211req.c +3 -2
@@ -108,7 +108,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);
@@ -129,7 +130,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 */ }/*----------------------------------------------------------------
Signature · 1 line
1.6.3.3
Quoted 5 lines · Patrick Rooney
Sorry to add this as an attachment, but copying and pasting corrupts the patch, and git is telling me that: "git: 'send-email' is not a git-command. See 'git --help'." (was following the instructions in
http://www.tuxradar.com/content/newbies-guide-hacking-linux-kernel; I use Ubuntu 9.10).
That is because you need to install the "git-email" package, or some such thing...
thanks,
greg k-h