Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315208
b: refs/heads/master
c: 1b083ea
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg committed Jul 3, 2012
1 parent 467b994 commit f4b2415
Show file tree
Hide file tree
Showing 2 changed files with 3 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: e3e1a0bcb3f192fe2f95f86a74bd4e7967341e74
refs/heads/master: 1b083ea4c072e49a6b0d4a1a6d5d9a6e4b3606b1
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/mac80211_hwsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ struct mac80211_hwsim_data {
struct list_head list;
struct ieee80211_hw *hw;
struct device *dev;
struct ieee80211_supported_band bands[2];
struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS];
struct ieee80211_channel channels_2ghz[ARRAY_SIZE(hwsim_channels_2ghz)];
struct ieee80211_channel channels_5ghz[ARRAY_SIZE(hwsim_channels_5ghz)];
struct ieee80211_rate rates[ARRAY_SIZE(hwsim_rates)];
Expand Down Expand Up @@ -1855,7 +1855,7 @@ static int __init init_mac80211_hwsim(void)
sband->n_bitrates = ARRAY_SIZE(hwsim_rates) - 4;
break;
default:
break;
continue;
}

sband->ht_cap.ht_supported = true;
Expand Down

0 comments on commit f4b2415

Please sign in to comment.