Configure AP in correct order

wcn36xx_smd_send_beacon and wcn36xx_smd_update_proberesp_tmpl
must be called in proper order otherwise it will cause FW crash.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>
Fix connection to AP mode

Set correct AID in config_sta and set stakey.

Signed-off-by: Eugene Krasnikov <k.eugene.e@gmail.com>