Using the Wifi adapter to connect to existing network

I’d really like to get my ETC to connect to my wifi instead of creating its own.

I’ve been told that changing to
“wpa_supplicant -B -D nl80211,wext -i wlan0 -c <(wpa_passphrase “NETWORK_NAME” “PASSWORD”)”

should do the trick, but for me, it doesn’t, it returns

“nl80211: Could not configure driver mode”

Prodding the system tells me that I have the rt2870 chip in the USB wifi dongle that came with my ETC. What driver should I use instead?

Just in case other people are looking for this info: Solved this by messing around with the system, following the official Arch instructions:

Now I’ve got it set up in wpa_supplicant.conf instead, and it works as it should without specifying driver.