ath5k: Put hardware in PROMISC mode if there is more than 1 stations.
authorBen Greear <greearb@candelatech.com>
Thu, 3 Mar 2011 22:39:05 +0000 (14:39 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Mar 2011 18:48:30 +0000 (13:48 -0500)
commite4b0b32aa1c0dd7ae6340833dd6b19de46409a88
tree338fb13c5b0b3e0dbeb1aad68ed02ad77bfcbdc8
parent410f2bb30d27252cc55a5f41668de60de62e5dc8
ath5k: Put hardware in PROMISC mode if there is more than 1 stations.

It seems ath5k has issues receiving broadcast packets (ARPs) when
using multiple STA interfaces associated with multiple APs.
This patch ensures the NIC is always in PROMISC mode if there
are more than 1 stations associated.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/base.h
drivers/net/wireless/ath/ath5k/mac80211-ops.c