Skip to content

Commit

Permalink
component/bt : fix blufi bug of sec_mode reset
Browse files Browse the repository at this point in the history
  • Loading branch information
tianhaoesp authored and projectgus committed Mar 22, 2017
1 parent 5850f42 commit 877b407
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/bt/bluedroid/btc/profile/esp/blufi/blufi_prf.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ static void blufi_profile_cb(tBTA_GATTS_EVT event, tBTA_GATTS *p_data)
blufi_env.conn_id = p_data->conn.conn_id;
blufi_env.is_connected = false;
blufi_env.recv_seq = blufi_env.send_seq = 0;
blufi_env.sec_mode = 0x0;

msg.sig = BTC_SIG_API_CB;
msg.pid = BTC_PID_BLUFI;
Expand Down

0 comments on commit 877b407

Please sign in to comment.