wireless: fix mcast_to_ucast handling, only apply it to AP mode
authorFelix Fietkau <nbd@openwrt.org>
Thu, 10 Sep 2015 20:59:33 +0000 (22:59 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 10 Sep 2015 20:59:34 +0000 (22:59 +0200)
commit03834f80dc526cc3ed6c1a78730bb393f202277c
tree9e0554ffe333562af5b62a8a3d78efe2692bf530
parenta8f7addd5fca0af20a5942149711acc8bb35c5ce
wireless: fix mcast_to_ucast handling, only apply it to AP mode

Fixes a regression that caused WDS stations to repeat packets back to
the AP.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
device.h
system-linux.c
wireless.c
wireless.h