Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236094
b: refs/heads/master
c: eff1b99
h: refs/heads/master
v: v3
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Feb 23, 2011
1 parent 4d1a4b5 commit c432d47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 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: f317154929f87d2fe799179761d1b639af33de74
refs/heads/master: eff1b99a6fc8eb25913fab7cd30eaeb6ca91349a
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/wlc_bsscfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ struct wlc_bsscfg {
pmkid_t pmkid[MAXPMKID]; /* PMKID cache */
uint npmkid; /* num cached PMKIDs */

wlc_bss_info_t *target_bss; /* BSS parms during tran. to ASSOCIATED state */
wlc_bss_info_t *current_bss; /* BSS parms in ASSOCIATED state */

/* PM states */
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ void wlc_set_home_chanspec(struct wlc_info *wlc, chanspec_t chanspec)
FOREACH_BSS(wlc, idx, cfg) {
if (!cfg->associated)
continue;
cfg->target_bss->chanspec = chanspec;

cfg->current_bss->chanspec = chanspec;
}

Expand Down Expand Up @@ -3209,7 +3209,7 @@ _wlc_ioctl(struct wlc_info *wlc, int cmd, void *arg, int len,

wlc->default_bss->chanspec = chspec;
/* wlc_BSSinit() will sanitize the rateset before using it.. */
if (wlc->pub->up && !wlc->pub->associated &&
if (wlc->pub->up &&
(WLC_BAND_PI_RADIO_CHANSPEC != chspec)) {
wlc_set_home_chanspec(wlc, chspec);
wlc_suspend_mac_and_wait(wlc);
Expand Down

0 comments on commit c432d47

Please sign in to comment.