From: Felix Fietkau Date: Sat, 2 Apr 2011 01:39:47 +0000 (+0200) Subject: ath9k: fix beacon slot processing in ad-hoc mode X-Git-Tag: v3.0-rc1~377^2~437^2^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e65968a10bb628b87024161c9adc8dbd886b47a;p=pandora-kernel.git ath9k: fix beacon slot processing in ad-hoc mode The recent cleanups in the beacon code fixed SWBA backoff calculation, however it did not remove a line of code that worked around the issues from the earlier version of the code. After the cleanup, the initial TSF based slot calculation now always returns 0 instead of ATH_BCBUF-1, so the previous hack that reversed the slot order needs to be removed, as ad-hoc mode does not use staggered beacons. Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed