ath9k: fix adhoc beacon issues (#9163, backport of r26395)