Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159089
b: refs/heads/master
c: 908d436
h: refs/heads/master
i:
  159087: 5c9bb16
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Jul 24, 2009
1 parent cbb9a07 commit 6251134
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 4b14c96dfbf068acb85c3fa2446b3949c0230deb
refs/heads/master: 908d4369a394e816767d566d9c3d15a5af8c1c55
6 changes: 1 addition & 5 deletions trunk/net/wireless/wext-sme.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,7 @@ int cfg80211_mgd_wext_giwessid(struct net_device *dev,
data->flags = 0;

wdev_lock(wdev);
if (wdev->ssid_len) {
data->flags = 1;
data->length = wdev->ssid_len;
memcpy(ssid, wdev->ssid, data->length);
} else if (wdev->wext.connect.ssid && wdev->wext.connect.ssid_len) {
if (wdev->wext.connect.ssid && wdev->wext.connect.ssid_len) {
data->flags = 1;
data->length = wdev->wext.connect.ssid_len;
memcpy(ssid, wdev->wext.connect.ssid, data->length);
Expand Down

0 comments on commit 6251134

Please sign in to comment.