sudo nano /etc/modprobe.d/ath9k_htc.conf
That’s a success message, not an error. The driver is loading correctly.
ls -la /lib/firmware/htc_9271.fw