Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150146
b: refs/heads/master
c: 44e1b98
h: refs/heads/master
v: v3
  • Loading branch information
Michael Buesch authored and John W. Linville committed May 6, 2009
1 parent d1f5d3a commit a5b94ce
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 273de92c8461776aaac7b32f8d5889a72b38ea10
refs/heads/master: 44e1b98f733e48bb781e4229120e1de5e0c9fdbb
2 changes: 1 addition & 1 deletion trunk/net/wireless/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ cfg80211_bss_update(struct cfg80211_registered_device *dev,
size_t used = dev->wiphy.bss_priv_size + sizeof(*res);
size_t ielen = res->pub.len_information_elements;

if (ksize(found) >= used + ielen) {
if (!found->ies_allocated && ksize(found) >= used + ielen) {
memcpy(found->pub.information_elements,
res->pub.information_elements, ielen);
found->pub.len_information_elements = ielen;
Expand Down

0 comments on commit a5b94ce

Please sign in to comment.