hooks::fix rtl8723au usb wireless driver issue and refactor code

Change-Id: I664e2aa0821dd62ae124fe9031f151e7c4bc9c09