I found a solution more efficient and fast.
I solved the problem by selecting Maximum Performance in the Power Options->Advanced Settings->Wireless Adapter Settings and unchecking the "Allow the computer to turn off this device to save power" setting in the Power Management tab for the Wireless Adapter in Device Manager.
The wi-fi works flawlessly in 8.1 after the settings change.
Try!