Osmc wifi adapter not working

OSMC uses a newer version of the linux kernel, but apparently a lot of the wifi drivers are very flaky.
See this thread: [RC] - Added WIFI adapter support requests - Official topic