Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314862
b: refs/heads/master
c: c49aa4a
h: refs/heads/master
v: v3
  • Loading branch information
Arend van Spriel authored and John W. Linville committed Jun 22, 2012
1 parent 82de33a commit dee835b
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: 8dc01811da1119d6a5e595b5200b788c6603d3b2
refs/heads/master: c49aa4aa2bc89e88672dc419a293d7b8c1f094d2
5 changes: 5 additions & 0 deletions trunk/drivers/net/wireless/brcm80211/brcmsmac/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,11 @@ void brcms_c_regd_init(struct brcms_c_info *wlc)
band = wlc->bandstate[BAND_2G_INDEX];
else
band = wlc->bandstate[BAND_5G_INDEX];

/* skip if band not initialized */
if (band->pi == NULL)
continue;

wlc_phy_chanspec_band_validch(band->pi, band->bandtype,
&sup_chan);

Expand Down

0 comments on commit dee835b

Please sign in to comment.