qcacld-3.0: Cleanup strange behaviors in __iw_set_essid()

__iw_set_essid() currently has a few strange behaviors:
* It currently rejects any request when in IBSS mode.
* It currently uses hdd_conn_get_connected_bss_type() to see if the
  adapter is connected, discarding the connectedBssType returned by
  the function.
* It currently uses the conn_info.connDot11DesiredBssType field to
  determine the BSS type, but this field is being deprecated.

Clean up these behaviors by allowing IBSS mode, by using
hdd_conn_is_connected() to see if the adapter is connected, and by
using the adapter device_mode to determine the BSS type.

Change-Id: I0180eb70487dd664c1cb85eee9a4d53eb7cb14a9
CRs-Fixed: 1073739
1 file changed
tree: 7861a324a7e5252b9cc412472efd64c57d189738
  1. core/
  2. target/
  3. uapi/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile
  8. README.txt