Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118317
b: refs/heads/master
c: 48735d8
h: refs/heads/master
i:
  118315: 904916d
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Oct 29, 2008
1 parent 4d601e9 commit 704da45
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 87bf24f3d2e076468deaa5181d44184887072904
refs/heads/master: 48735d8d8bd701b1e0cd3d49c21e5e385ddcb077
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/libertas/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,8 @@ static int lbs_process_bss(struct bss_descriptor *bss,

switch (elem->id) {
case MFIE_TYPE_SSID:
bss->ssid_len = elem->len;
memcpy(bss->ssid, elem->data, elem->len);
bss->ssid_len = min_t(int, 32, elem->len);
memcpy(bss->ssid, elem->data, bss->ssid_len);
lbs_deb_scan("got SSID IE: '%s', len %u\n",
escape_essid(bss->ssid, bss->ssid_len),
bss->ssid_len);
Expand Down

0 comments on commit 704da45

Please sign in to comment.