]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6656: rxtx.c s_vGenerateTxParameter create argument bool need rts
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 27 Aug 2013 10:56:33 +0000 (11:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Aug 2013 23:54:39 +0000 (16:54 -0700)
commit7cf3b97fc73a2e9804bb6abfca74a8bd2d5f3c20
tree3424d24293df2214eeffec449a5a87f2873e9b37
parent4d218018be19190862b72c01be99702b703cc50d
staging: vt6656: rxtx.c s_vGenerateTxParameter create argument bool need rts

Allow conditional statements to be based on true/false instead of
NULL or not pointer pvRTS.

Harmonise all call functions will bool type.

If need_rts is true then rts is needed.

If need_rts is false then
cts is needed only when byPktType == PK_TYPE_11GB || PK_TYPE_11GA.
none no rts/cts other byPktTypes.

This allow the joining of pointers pvRTS/pvCTS in to single pointer.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c