]> git.karo-electronics.de Git - linux-beck.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)
commitf46142b0bbde093e9faa8cc6172057e515d17653
tree3424d24293df2214eeffec449a5a87f2873e9b37
parent27df3ebf363bc1a63ab2356975848a07fb2229dc
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