Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78255
b: refs/heads/master
c: 88fecd0
h: refs/heads/master
i:
  78253: 651fa1b
  78251: 4119386
  78247: 2882497
  78239: 6a27dfc
v: v3
  • Loading branch information
John W. Linville authored and David S. Miller committed Jan 28, 2008
1 parent 9bc4ba1 commit f4ef118
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 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: 64bd4b693f2d0b59673086e9c510068d5ad47cee
refs/heads/master: 88fecd092e2e7677f8e3f5ab32c16d801bc85fd6
25 changes: 0 additions & 25 deletions trunk/net/mac80211/ieee80211_sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -3260,31 +3260,6 @@ ieee80211_sta_scan_result(struct net_device *dev,
}
}

do {
char *buf;

buf = kmalloc(100, GFP_ATOMIC);
if (!buf)
break;

memset(&iwe, 0, sizeof(iwe));
iwe.cmd = IWEVCUSTOM;
sprintf(buf, "bcn_int=%d", bss->beacon_int);
iwe.u.data.length = strlen(buf);
current_ev = iwe_stream_add_point(current_ev, end_buf, &iwe,
buf);

memset(&iwe, 0, sizeof(iwe));
iwe.cmd = IWEVCUSTOM;
sprintf(buf, "capab=0x%04x", bss->capability);
iwe.u.data.length = strlen(buf);
current_ev = iwe_stream_add_point(current_ev, end_buf, &iwe,
buf);

kfree(buf);
break;
} while (0);

return current_ev;
}

Expand Down

0 comments on commit f4ef118

Please sign in to comment.