Fix transmission type detection

Third parameter MUST be 0. Don't ask why.