Wifi dongle disconnects every 10 seconds

I’m totally new to raspberry pi and OSMC and I have a problem.
I installed OSMC on RPi2 today and there seems to be a problem with the wifi.
The wifi adapter I’m using disconnects every 10 seconds and then reconnects again (it has a blue led which stops blinking every 10 seconds).
Is there any way to fix this?
Thanks in advance!

Try adding max_usb_current=1 to /boot/config.txt and ensure that your power supply is strong enough.

If the issue exists afterwards than provide logs

To get a better understanding of the problem you are experiencing we need more information from you. Please see How to submit a useful support request - General - OSMC for advice on how to help us.

I added max_usb_current=1 to config.txt. The result is the same but I think it takes a little bit more time to disconnect from the wifi (about 15 seconds). I may be wrong though.
I’m using a 5V 2A power supply which I read that is recommended for RPi 2.

Here are my logs:

Can someone help me please? I’m still struggling with this…

Try a different power supply and cable.

Tried this as well, the result remains the same.