driver: fix the memory ctrl bug for packet sending