Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112059
b: refs/heads/master
c: ad788b5
h: refs/heads/master
i:
  112057: badb660
  112055: 647609b
v: v3
  • Loading branch information
John W. Linville committed Oct 6, 2008
1 parent 61b9379 commit 5d981b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: eedda3670ea8e6d7649e3c8847759b0a6e532f8d
refs/heads/master: ad788b5e079484aa1d48aa90a3ebd7d954d2e7db
8 changes: 5 additions & 3 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -690,9 +690,11 @@ static void ieee80211_sta_send_associnfo(struct ieee80211_sub_if_data *sdata,
}
}

memset(&wrqu, 0, sizeof(wrqu));
wrqu.data.length = len;
wireless_send_event(dev, IWEVCUSTOM, &wrqu, buf);
if (len <= IW_CUSTOM_MAX) {
memset(&wrqu, 0, sizeof(wrqu));
wrqu.data.length = len;
wireless_send_event(sdata->dev, IWEVCUSTOM, &wrqu, buf);
}

kfree(buf);
}
Expand Down

0 comments on commit 5d981b1

Please sign in to comment.