aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJavier Martinez Canillas <[email protected]>2016-05-27 10:18:17 -0400
committerKalle Valo <[email protected]>2016-06-16 18:05:06 +0300
commit032e0f546c7e36217ebcae33f82d390c272d00ea (patch)
treebc96d328cf621db17405aec2254a19d0b5608095 /tools/perf/scripts/python
parentcc524d1706b775466bf16a0a1130105ae5c70f43 (diff)
mwifiex: propagate mwifiex_add_card() errno code in mwifiex_sdio_probe()
There's only a check if mwifiex_add_card() returned a nonzero value, but the actual error code is neither stored nor propagated to the caller. So instead of always returning -1 (which is -EPERM and not a suitable errno code in this case), propagate the value returned by mwifiex_add_card(). Patch also removes the assignment of sdio_disable_func() returned value since it was overwritten anyways and what matters is to know the error value returned by the first function that failed. Signed-off-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Julian Calaby <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions