diff options
author | Arik Nemtsov <arik@wizery.com> | 2011-04-18 13:15:26 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-05-02 09:31:18 +0200 |
commit | c45a85b5a3c0ca841a7ffc700bdece8ee01486be (patch) | |
tree | 64956d8baafc9e746ca22d7d2162f48d5d046066 /drivers/net/wireless/wl12xx/init.c | |
parent | wl12xx: AP-mode - overhaul rate policy configuration (diff) | |
download | linux-c45a85b5a3c0ca841a7ffc700bdece8ee01486be.tar.xz linux-c45a85b5a3c0ca841a7ffc700bdece8ee01486be.zip |
wl12xx: AP-mode - reconfigure templates after basic rates change
When there's a change in the basic rates of the AP, reconfigure relevant
templates with the new rates.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/init.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/init.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/init.c b/drivers/net/wireless/wl12xx/init.c index 5d0ecd2018bf..b1242a6de27b 100644 --- a/drivers/net/wireless/wl12xx/init.c +++ b/drivers/net/wireless/wl12xx/init.c @@ -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; @@ -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; |