Download firmware from here or search for newer.
sudo cp htc_9271.fw /lib/firmware/.
Plug in device and do a dmesg to see if firmware is loaded.
Works great on airodump-ng, injection is super.\
Bus 001 Device 004: ID 0cf3:1006 Atheros Communications, Inc. TP-Link TL-WN322G v3 / TL-WN422G v2 802.11g [Atheros AR9271]
Don’t waste time trying to compile anything else.