[wireless hostap] trim trailing whitespace