[SOLVED] Bluetooth 4.0 not working on Ubuntu 16.04 AthrBT_0x00000200

I bought a new MSI laptop, it had Atheros Communications, Inc. AR3012 Bluetooth 4.0 hardware installed. But it was not working at all. I checked lsusb and could find that it is there. After that I checked with the command dmesg on terminal and found out that there seem to be some problem loading the Bluetooth driver.