Fix a bug in setReadTransferSize when size == 0
Add repeatable control write transfers