Fixing the code to work under SDK 0.9.4
Added correct init WiFi module procedure.

Signed-off-by: Mikhail Grigorev <sleuthhound@gmail.com>