From: Mohammed Shafi Shajakhan Date: Thu, 9 Dec 2010 16:18:54 +0000 (+0530) Subject: ath9k: clean up hardware code for beacon handling X-Git-Tag: v2.6.38-rc1~476^2~104^2~4^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f33fdcf1b3a02fb92971a577d194ec6c579374af;p=pandora-kernel.git ath9k: clean up hardware code for beacon handling The registers TBTT_TIMER ,DMA_BEACON_ALERT ,NEXT_SWBA are need to be configured only for AP and IBSS mode. SWBA register is used for generating software interrupts so that beacon frames will be created by the software.DMA beacon alert register is to indicate the hardware to DMA the contents of beacon buffer to PCU buffer and TBTT to start transmitting the packet buffer to the base band. Clearly these things are not needed for station/monitor mode so remove configuring them. Cc: doug dahlby Signed-off-by: Mohammed Shafi Shajakhan Signed-off-by: John W. Linville --- Reading git-diff-tree failed