Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327881
b: refs/heads/master
c: e5f5b2f
h: refs/heads/master
i:
  327879: 0a317d3
v: v3
  • Loading branch information
Arend van Spriel authored and Johannes Berg committed Sep 5, 2012
1 parent e8ae5a4 commit 37d8b80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 00ea6deb0cb1af8df4ea899330bfd238c93ef164
refs/heads/master: e5f5b2fb07353de00ffde49221cffad71e2fecfe
8 changes: 4 additions & 4 deletions trunk/net/wireless/wext-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -478,13 +478,13 @@ void wireless_send_event(struct net_device * dev,
if (descr->header_type == IW_HEADER_TYPE_POINT) {
/* Check if number of token fits within bounds */
if (wrqu->data.length > descr->max_tokens) {
netdev_err(dev, "(WE) : Wireless Event too big (%d)\n",
wrqu->data.length);
netdev_err(dev, "(WE) : Wireless Event (cmd=0x%04X) too big (%d)\n",
cmd, wrqu->data.length);
return;
}
if (wrqu->data.length < descr->min_tokens) {
netdev_err(dev, "(WE) : Wireless Event too small (%d)\n",
wrqu->data.length);
netdev_err(dev, "(WE) : Wireless Event (cmd=0x%04X) too small (%d)\n",
cmd, wrqu->data.length);
return;
}
/* Calculate extra_len - extra is NULL for restricted events */
Expand Down

0 comments on commit 37d8b80

Please sign in to comment.