sudo dmesg | grep -i rt2851 sudo ethtool -i wlan0 # replace wlan0 with your interface name

A very specific topic!

Before flashing anything, dump the current firmware via or SSH/Telnet (if enabled). Example using dd over SSH: