Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247515
b: refs/heads/master
c: c45a85b
h: refs/heads/master
i:
  247513: 209c407
  247511: 3eb9abd
v: v3
  • Loading branch information
Arik Nemtsov authored and Luciano Coelho committed May 2, 2011
1 parent 553c7d7 commit 9077260
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 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: 70f474241b3d5fb633635a2ce39ea9da4afeea6c
refs/heads/master: c45a85b5a3c0ca841a7ffc700bdece8ee01486be
7 changes: 6 additions & 1 deletion trunk/drivers/net/wireless/wl12xx/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ static int wl1271_ap_hw_init(struct wl1271 *wl)
return 0;
}

static int wl1271_ap_hw_init_post_mem(struct wl1271 *wl)
int wl1271_ap_init_templates(struct wl1271 *wl)
{
int ret;

Expand All @@ -470,6 +470,11 @@ static int wl1271_ap_hw_init_post_mem(struct wl1271 *wl)
return 0;
}

static int wl1271_ap_hw_init_post_mem(struct wl1271 *wl)
{
return wl1271_ap_init_templates(wl);
}

int wl1271_init_ap_rates(struct wl1271 *wl)
{
int i, ret;
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/wl12xx/init.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ int wl1271_init_energy_detection(struct wl1271 *wl);
int wl1271_chip_specific_init(struct wl1271 *wl);
int wl1271_hw_init(struct wl1271 *wl);
int wl1271_init_ap_rates(struct wl1271 *wl);
int wl1271_ap_init_templates(struct wl1271 *wl);

#endif
4 changes: 4 additions & 0 deletions trunk/drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2503,6 +2503,10 @@ static void wl1271_bss_info_changed_ap(struct wl1271 *wl,
wl1271_error("AP rate policy change failed %d", ret);
goto out;
}

ret = wl1271_ap_init_templates(wl);
if (ret < 0)
goto out;
}

ret = wl1271_bss_beacon_info_changed(wl, vif, bss_conf, changed);
Expand Down

0 comments on commit 9077260

Please sign in to comment.