Fix call to wlan_connect (#43)
Fix call to wlan_connect (#43)

* Fix call to wlan_connect

When you call Option<T>::map() it creates copy of the object that
Option is wrapping. So if you take a reference of that you're
getting a reference to a temporary object. Calling Option<T>::as_ref()
gives you an Option<&T>, i.e. a reference directly to the object
contained in the Option, and when you call .map() on that it makes
a copy of the reference, which doesn't introduce a temporary.

* Removed some unnecessary type specifications.

fabricedesre/cc3200-rs,fabricedesre/cc3200-rs,fabricedesre/cc3200-rs,fabricedesre/cc3200-rs,fabricedesre/cc3200-rs