wl12xx: move basic_rate into wlvif

move basic_rate into the per-interface data, rather than
being global.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
This commit is contained in:
Eliad Peller
2011-10-05 11:55:43 +02:00
committed by Luciano Coelho
parent 30d0c8fd5b
commit d2d66c56cf
9 changed files with 68 additions and 52 deletions

View File

@ -331,7 +331,7 @@ static int wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif)
}
/* PS config */
ret = wl1271_acx_config_ps(wl);
ret = wl12xx_acx_config_ps(wl, wlvif);
if (ret < 0)
return ret;