fix compat wireless compilation warning