fix a small race condition in the madwifi queue handling