Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183586
b: refs/heads/master
c: 80a112f
h: refs/heads/master
v: v3
  • Loading branch information
Kalle Valo authored and John W. Linville committed Jan 12, 2010
1 parent 6d61034 commit 3d37345
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: dc52f0a8e50303eb67ff8856cd8d1b461462ceec
refs/heads/master: 80a112ffe8dbada25f3780ecc4beebf23451d755
10 changes: 5 additions & 5 deletions trunk/drivers/net/wireless/wl12xx/wl1251_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ static void wl1251_op_bss_info_changed(struct ieee80211_hw *hw,
skb->data, skb->len);
dev_kfree_skb(skb);
if (ret < 0)
goto out;
goto out_sleep;

if (wl->bss_type != BSS_TYPE_IBSS) {
ret = wl1251_join(wl, wl->bss_type, wl->channel,
Expand Down Expand Up @@ -1018,7 +1018,7 @@ static void wl1251_op_bss_info_changed(struct ieee80211_hw *hw,
ret = wl1251_acx_cts_protect(wl, CTSPROTECT_DISABLE);
if (ret < 0) {
wl1251_warning("Set ctsprotect failed %d", ret);
goto out;
goto out_sleep;
}
}

Expand All @@ -1029,7 +1029,7 @@ static void wl1251_op_bss_info_changed(struct ieee80211_hw *hw,

if (ret < 0) {
dev_kfree_skb(beacon);
goto out;
goto out_sleep;
}

ret = wl1251_cmd_template_set(wl, CMD_PROBE_RESP, beacon->data,
Expand All @@ -1038,13 +1038,13 @@ static void wl1251_op_bss_info_changed(struct ieee80211_hw *hw,
dev_kfree_skb(beacon);

if (ret < 0)
goto out;
goto out_sleep;

ret = wl1251_join(wl, wl->bss_type, wl->beacon_int,
wl->channel, wl->dtim_period);

if (ret < 0)
goto out;
goto out_sleep;
}

out_sleep:
Expand Down

0 comments on commit 3d37345

Please sign in to comment.