Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352749
b: refs/heads/master
c: 6f7c1ad
h: refs/heads/master
i:
  352747: 5fbd537
v: v3
  • Loading branch information
Mohammed Shafi Shajakhan authored and Kalle Valo committed Nov 27, 2012
1 parent f08d79d commit 41ce0a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 355b3a982095c8647cce13dd43ebc4bc4299f31a
refs/heads/master: 6f7c1adb7529935df6e288a1436003c1f6dc0653
10 changes: 5 additions & 5 deletions trunk/drivers/net/wireless/ath/ath6kl/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -640,13 +640,13 @@ static int ath6kl_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev,
vif->req_bssid, vif->ch_hint,
ar->connect_ctrl_flags, nw_subtype);

/* disable background scan if period is 0 */
if (sme->bg_scan_period == 0)
if (sme->bg_scan_period == 0) {
/* disable background scan if period is 0 */
sme->bg_scan_period = 0xffff;

/* configure default value if not specified */
if (sme->bg_scan_period == -1)
} else if (sme->bg_scan_period == -1) {
/* configure default value if not specified */
sme->bg_scan_period = DEFAULT_BG_SCAN_PERIOD;
}

ath6kl_wmi_scanparams_cmd(ar->wmi, vif->fw_vif_idx, 0, 0,
sme->bg_scan_period, 0, 0, 0, 3, 0, 0, 0);
Expand Down

0 comments on commit 41ce0a4

Please sign in to comment.