[SQUASH ME] fix ifdefs in transceiver adapter