Enable receiving the packets within the same WLAN

Hi. I am using OpenWRT with OVS installed on it on a router that has two WLAN interfaces. Some devices are connected to WLAN1 and the others are connected to WLAN2. Packets that sent from one WLAN to the other are received by the router and passed to the OVS, but packets within the same WLAN are not forwarded to the OVS. I tried enabling promiscuous mode on both WLANs but it didn't work.
I would appreciate any solution.
Thanks in advance.