this can depend on the subnet mask and as a result of this routing.
the client has a wireless link to the switch and the router,
and a wired link to an access point (and devices behind this)
but both addresses lay within the same /24 network
when the router is reachable, the interface facing the router will be used for the default route
and the client can only reach the AP(b) as this is directly connected, but not the devices behind this AP(b)
when the wireless link is disconnected, the router is not reachable as default gateway and all packets are send using the wired link