Ubuntu Linux Network not connected

Hello,
I recently bought a RealTL8188CU wireless LAN adapter.
It works perfectly in Windows but in Ubuntu Linux it detects the network but does not connect.
What could be the problem?
Anyone could help me?
Thanks.
