ath9k: Fix rx filtering issue for older chips
authorThomas Wagner <Thomas.Wagner@hs-rm.de>
Tue, 25 Sep 2012 16:02:55 +0000 (21:32 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Sep 2012 17:54:02 +0000 (13:54 -0400)
commita549459c96ba99a691aa1cafeabdd327a7a2bfcf
tree6f9f8d92f82a80789e7e8b318380a62db8f91958
parent1fd41a65f19bdabb31549af00ce23d4c5c14781a
ath9k: Fix rx filtering issue for older chips

We need to have the promiscuous mode enabled for older
chipsets so that the olderchips hardware does not
filters out some valid/necessary frames that need
to be sent to mac80211. Fix this by enabling promiscus
mode for all the chipsets whose macversion <= AR9160
chipsets. This should fix
https://bugzilla.kernel.org/show_bug.cgi?id=45591

shafi: made the fix generic by having the frame filtering
disabled for chipsets older than AR9280.

Cc: Javier Cardona <javier@cozybit.com>
Signed-off-by: Thomas Wagner <Thomas.Wagner@hs-rm.de>
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c