Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26081
b: refs/heads/master
c: a417016
h: refs/heads/master
i:
  26079: a4bfeb3
v: v3
  • Loading branch information
Jean Tourrilhes authored and John W. Linville committed Apr 19, 2006
1 parent fdeb239 commit e26de6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 3a1af6ffe4941497071125d3a8bb3e1feee45df1
refs/heads/master: a417016d1a07e6df0621dbb2926da82642eca823
3 changes: 2 additions & 1 deletion trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2698,7 +2698,8 @@ int dev_ioctl(unsigned int cmd, void __user *arg)
/* If command is `set a parameter', or
* `get the encoding parameters', check if
* the user has the right to do it */
if (IW_IS_SET(cmd) || cmd == SIOCGIWENCODE) {
if (IW_IS_SET(cmd) || cmd == SIOCGIWENCODE
|| cmd == SIOCGIWENCODEEXT) {
if (!capable(CAP_NET_ADMIN))
return -EPERM;
}
Expand Down

0 comments on commit e26de6a

Please sign in to comment.