Fix generic SWAP mote driver