Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97914
b: refs/heads/master
c: 507b06d
h: refs/heads/master
v: v3
  • Loading branch information
Dan Williams authored and John W. Linville committed Jun 9, 2008
1 parent a63e599 commit 6dc3462
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ea177305b321a4127e448b88de20d5792682ace1
refs/heads/master: 507b06d0622480f8026d49a94f86068bb0fd6ed6
5 changes: 5 additions & 0 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -2336,6 +2336,7 @@ static int ieee80211_sta_join_ibss(struct net_device *dev,
u8 *pos;
struct ieee80211_sub_if_data *sdata;
struct ieee80211_supported_band *sband;
union iwreq_data wrqu;

sband = local->hw.wiphy->bands[local->hw.conf.channel->band];

Expand Down Expand Up @@ -2479,6 +2480,10 @@ static int ieee80211_sta_join_ibss(struct net_device *dev,
ifsta->state = IEEE80211_IBSS_JOINED;
mod_timer(&ifsta->timer, jiffies + IEEE80211_IBSS_MERGE_INTERVAL);

memset(&wrqu, 0, sizeof(wrqu));
memcpy(wrqu.ap_addr.sa_data, bss->bssid, ETH_ALEN);
wireless_send_event(dev, SIOCGIWAP, &wrqu, NULL);

return res;
}

Expand Down

0 comments on commit 6dc3462

Please sign in to comment.