OK, managed to fix the problem. I downloaded and installed compat-wireless-2012-02-28-p.tar.bz2 from http://linuxwireless.org/download/compat-wireless-2.6/ .

tar -xvf...