wifi: Fix IllegalStateException in beginBroadcast()

The update SoftApCapability operation should only be executed
in handler thread to avoid race condition and IllegalStateException.

Bug: 191215971
Test: atest -c FrameworksWifiTests
Change-Id: I528321ff5b42fd3ce2b411419aaaf8e757808c7d
1 file changed