Wireless not working with a RTL8191SEvB

my wireless is not working in Ubuntu 11.10 and it worked fine in 11.04, i've done a fresh install and it detects the wireless but when i try to connect it keeps asking for the WPA key.Can anyone help me? I've tried to download the drivers from the realtek site but i get an error when i do "sudo make" i'm using a 64bit and i've tried the 32bit and nothing solves the problem.

my wireless card: RTL8191SEvB


You have to compile the driver.

Download the latest Linux driver from Realtek. Choose the Linux driver for kernel 2.6.35 and above.

Install a few dependencies

sudo apt-get install build-essential

Extract all files. In a terminal, execute the following commands:

cd into the extracted directory
make
sudo make install
sudo modprobe rtl8192se

Wifi should be working now. In order to keep the wifi working after a reboot, add one line with "rtl8192se" to the /etc/modules file.

gksudo gedit /etc/modules

Modified from http://michael-peeters.blogspot.com/2011/10/fixing-rtl8191se-wifi-under-ubuntu-1110.html