prima:TDLS Rectify the reason for the the TDLS tear down.

This commit ensures to add the prompt reason for the tear
down.
Specifically, sets the reason based on if the tear
down is initiated by the peer or self.
Also , this commit ensures to move the tdls state to
eTDLS_LINK_TEARING , prior to sme_DeleteTdlsPeerSta , to
ensure that the staID is unregistered properly in the TL
layer, without which there was an issue in doing the same
as the TL layer shall ensure to unregister the staID only
when the TDLS state of the peer is in the TEARING or CONNECTED
state.

Change-Id: Ia3c49790bb79720ea7614b2c2e0c50d73a2b6b26
CRs-Fixed: 720749
wlan: Reset pHddCtx->btCoexModeSet value after a shutdown

Reset pHddCtx->btCoexModeSet value to FALSE in hdd_wlan_re_init
to unblock scan event after recover from SSR.
CRs-Fixed: 724221

Change-Id: I81d6f2dc5e0dda07e1841576b1f2f742fe584004
prima: Do not use bucket parameter as an index.

wifi_scan_bucket_spec's bucket parameter is used to refer the
respective bucket which contradicts to the expectation set by the
framework.
Framework assigns a unique value to the bucket parameter to
identify the bucket.
Hence, do not consider the bucket parameter as an index for the
bucket.

Change-Id: I80c175ba69d938d085eefae822f70200e168f958
CRs-Fixed: 725120
Wlan: Release 3.2.3.416

Release 3.2.3.416

Change-Id: I49f87dcd17800242c3075e91ce383b5e7058ba63
CRs-Fixed: 688141