Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266291
b: refs/heads/master
c: 3919349
h: refs/heads/master
i:
  266289: cfdbbce
  266287: 81dbc9d
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Sep 19, 2011
1 parent f909ee0 commit e89cca1
Show file tree
Hide file tree
Showing 2 changed files with 6 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: bbb5574224168ef62c8549535c0d0a99e989ecf3
refs/heads/master: 39193498913f82dd7e484aa908843ca4114c3b0c
6 changes: 5 additions & 1 deletion trunk/net/wireless/nl80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -4527,8 +4527,12 @@ static int nl80211_join_ibss(struct sk_buff *skb, struct genl_info *info)

wiphy = &rdev->wiphy;

if (info->attrs[NL80211_ATTR_MAC])
if (info->attrs[NL80211_ATTR_MAC]) {
ibss.bssid = nla_data(info->attrs[NL80211_ATTR_MAC]);

if (!is_valid_ether_addr(ibss.bssid))
return -EINVAL;
}
ibss.ssid = nla_data(info->attrs[NL80211_ATTR_SSID]);
ibss.ssid_len = nla_len(info->attrs[NL80211_ATTR_SSID]);

Expand Down

0 comments on commit e89cca1

Please sign in to comment.