Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236064
b: refs/heads/master
c: 28f7e85
h: refs/heads/master
v: v3
  • Loading branch information
Vipin Mehta authored and Greg Kroah-Hartman committed Feb 18, 2011
1 parent 97db9c3 commit c31d5a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 98b6d2381a2812eba27a4cec3e8242262b0e5f01
refs/heads/master: 28f7e85a4b454e4882a91ea13dd17cdf5013168d
8 changes: 4 additions & 4 deletions trunk/drivers/staging/ath6kl/os/linux/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -765,12 +765,12 @@ ar6k_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
request->ssids[0].ssid_len) {
u8 i;

if(request->n_ssids > MAX_PROBED_SSID_INDEX) {
request->n_ssids = MAX_PROBED_SSID_INDEX;
if(request->n_ssids > (MAX_PROBED_SSID_INDEX - 1)) {
request->n_ssids = MAX_PROBED_SSID_INDEX - 1;
}

for (i = 0; i < request->n_ssids; i++) {
wmi_probedSsid_cmd(ar->arWmi, i, SPECIFIC_SSID_FLAG,
wmi_probedSsid_cmd(ar->arWmi, i+1, SPECIFIC_SSID_FLAG,
request->ssids[i].ssid_len,
request->ssids[i].ssid);
}
Expand Down Expand Up @@ -810,7 +810,7 @@ ar6k_cfg80211_scanComplete_event(AR_SOFTC_T *ar, int status)
u8 i;

for (i = 0; i < ar->scan_request->n_ssids; i++) {
wmi_probedSsid_cmd(ar->arWmi, i, DISABLE_SSID_FLAG,
wmi_probedSsid_cmd(ar->arWmi, i+1, DISABLE_SSID_FLAG,
0, NULL);
}
}
Expand Down

0 comments on commit c31d5a4

Please sign in to comment.