Skip to content

staging: vt6656: Refactor the vnt_set_bss_mode function

Oscar Carter lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: vt6656: Check the return values in vnt_set_bss_mode functiondrivers/staging/vt6656/card.c+14 -70 replies
2/2staging: vt6656: Refactor the vnt_set_bss_mode functiondrivers/staging/vt6656/card.c+31 -370 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] staging: vt6656: Refactor the vnt_set_bss_mode function

This patch series refactors the vnt_set_bss_mode function through two patches.

The first one checks the return value of all the functions that return zero if successful or a negative error code on failure.

The second patch removes all the duplicate code in the "if, else if, else" statements as all the branches in every "if" are almost the same.

Oscar Carter (2):
staging: vt6656: Check the return values in vnt_set_bss_mode function
staging: vt6656: Refactor the vnt_set_bss_mode function

 drivers/staging/vt6656/card.c | 77 ++++++++++++++++++-----------------
 1 file changed, 39 insertions(+), 38 deletions(-)

--
2.20.1