Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196941
b: refs/heads/master
c: 67a7b37
h: refs/heads/master
i:
  196939: 1c8a73c
v: v3
  • Loading branch information
Patrick Rooney authored and Greg Kroah-Hartman committed May 11, 2010
1 parent a371e81 commit 8804bc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 767700c454301058188fe6561c3d0213f6991e81
refs/heads/master: 67a7b3788cd2b9f63a6cfe68e9e937c25709f053
5 changes: 3 additions & 2 deletions trunk/drivers/staging/wlan-ng/p80211req.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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 */
}

/*----------------------------------------------------------------
Expand Down

0 comments on commit 8804bc0

Please sign in to comment.