Fix error checking for wireless interfaces being part of a bridge which is allowed only in hostap mode.
Fix error checking for wireless interfaces being part of a bridge which is allowed only in hostap mode.