Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256081
b: refs/heads/master
c: 8ee3108
h: refs/heads/master
i:
  256079: 48a3efa
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Jun 27, 2011
1 parent e56609c commit f29b0a7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 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: 04b7dcf979d71e870683c804802e44287a802760
refs/heads/master: 8ee3108075c9e9e2701493a245a754b8b0db8e57
2 changes: 2 additions & 0 deletions trunk/drivers/net/wireless/mac80211_hwsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,8 @@ static int mac80211_hwsim_hw_scan(struct ieee80211_hw *hw,
for (i = 0; i < req->n_channels; i++)
printk(KERN_DEBUG "hwsim hw_scan freq %d\n",
req->channels[i]->center_freq);
print_hex_dump(KERN_DEBUG, "scan IEs: ", DUMP_PREFIX_OFFSET,
16, 1, req->ie, req->ie_len, 1);

ieee80211_queue_delayed_work(hw, &hsd->w, 2 * HZ);

Expand Down
5 changes: 3 additions & 2 deletions trunk/net/mac80211/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ ieee80211_scan_rx(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb)
static bool ieee80211_prep_hw_scan(struct ieee80211_local *local)
{
struct cfg80211_scan_request *req = local->scan_req;
struct ieee80211_sub_if_data *sdata = local->scan_sdata;
enum ieee80211_band band;
int i, ielen, n_chans;

Expand All @@ -251,8 +252,8 @@ static bool ieee80211_prep_hw_scan(struct ieee80211_local *local)
local->hw_scan_req->n_channels = n_chans;

ielen = ieee80211_build_preq_ies(local, (u8 *)local->hw_scan_req->ie,
req->ie, req->ie_len, band, (u32) -1,
0);
req->ie, req->ie_len, band,
sdata->rc_rateidx_mask[band], 0);
local->hw_scan_req->ie_len = ielen;

return true;
Expand Down

0 comments on commit f29b0a7

Please sign in to comment.