ath9k: fix ad-hoc mode beacon selection