.. | .. |
---|
304 | 304 | * update wlc->stf->ss_opmode which represents the operational stf_ss mode |
---|
305 | 305 | * we're using |
---|
306 | 306 | */ |
---|
307 | | -int brcms_c_stf_ss_update(struct brcms_c_info *wlc, struct brcms_band *band) |
---|
| 307 | +void brcms_c_stf_ss_update(struct brcms_c_info *wlc, struct brcms_band *band) |
---|
308 | 308 | { |
---|
309 | | - int ret_code = 0; |
---|
310 | 309 | u8 prev_stf_ss; |
---|
311 | 310 | u8 upd_stf_ss; |
---|
312 | 311 | |
---|
.. | .. |
---|
325 | 324 | PHY_TXC1_MODE_SISO : PHY_TXC1_MODE_CDD; |
---|
326 | 325 | } else { |
---|
327 | 326 | if (wlc->band != band) |
---|
328 | | - return ret_code; |
---|
| 327 | + return; |
---|
329 | 328 | upd_stf_ss = (wlc->stf->txstreams == 1) ? |
---|
330 | 329 | PHY_TXC1_MODE_SISO : band->band_stf_ss_mode; |
---|
331 | 330 | } |
---|
.. | .. |
---|
333 | 332 | wlc->stf->ss_opmode = upd_stf_ss; |
---|
334 | 333 | brcms_b_band_stf_ss_set(wlc->hw, upd_stf_ss); |
---|
335 | 334 | } |
---|
336 | | - |
---|
337 | | - return ret_code; |
---|
338 | 335 | } |
---|
339 | 336 | |
---|
340 | 337 | int brcms_c_stf_attach(struct brcms_c_info *wlc) |
---|