mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 15:10:38 +00:00
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. Signed-off-by: Patrick Rooney <candyguitar@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
767700c454
commit
67a7b3788c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user