I've tried this on multiple Compex WP54 family devices, a Ubiquity PowerStation 2 and a LiteStation 2.
Starting from a simple configuration with the wireless correctly associated with an access point (the device having my problem is in Station mode). ath0 has an appropriate IP and can ping and be pinged by other devices.
However, when I create a VLAN interface on ath0, things start to go wrong (vconfig add ath0 5). Approximately 40-60 seconds after the vlan interface is created, the wireless traffic from the device stops. Running tcpdump on the device montioring the wireless shows incoming ARP requests for the device's IP address, but no responses.
Almost immediately after destroying the vlan interface (vconfig rem ath0.5), the network traffic resumes.
This is all on OpenWRT r10517. (These devices all use Atheros wireless chipsets...)