Index: output/bt_code.c
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/shoubing/output/bt_code.c	(revision 854)
+++ /YC3121_demo/ModuleDemo/BlueTooth/shoubing/output/bt_code.c	(working copy)
@@ -10,7 +10,7 @@
 0x84,0x25,0xc0,0x12,0x84,0x2a,0xc0,0x18,0x00,0x9a,0xc0,0x1e,0x02,0x15,0xc0,0x1d,
 0x02,0x25,0xc0,0x1e,0x82,0x35,0xc0,0x1f,0x82,0x42,0xc0,0x1f,0x02,0x48,0xc0,0x20,
 0x82,0x5b,0xc0,0x4c,0x82,0x61,0xc0,0x51,0x82,0x65,0x20,0x20,0x4a,0x8b,0x6f,0xe2,
-0x00,0x4c,0x79,0x3f,0xfe,0x02,0x67,0xe2,0x00,0x02,0x20,0x20,0x43,0x2f,0xda,0x20,
+0x00,0x4c,0x79,0x3f,0xfe,0x02,0x67,0xe2,0x00,0x4c,0x20,0x20,0x43,0x2f,0xda,0x20,
 0x4b,0xd7,0xdf,0x20,0x00,0x02,0x20,0x20,0x42,0x60,0x20,0x40,0x42,0x5a,0x24,0x22,
 0x80,0x39,0x20,0x40,0x42,0x06,0x1a,0x20,0x8c,0x01,0xef,0xe2,0x00,0x06,0xc2,0x80,
 0x57,0x3a,0xc2,0x80,0xc1,0x62,0x20,0x20,0x43,0xcb,0x20,0x40,0x00,0x3b,0x20,0x20,
@@ -323,7 +323,7 @@
 0x67,0xb9,0x70,0x0a,0xff,0xb2,0x58,0x00,0x00,0x02,0x20,0x40,0x50,0xa5,0x6f,0xe4,
 0x0a,0x96,0xe7,0xe4,0x00,0x0a,0x20,0x20,0x67,0xb9,0x20,0x40,0x04,0xf5,0x20,0x20,
 0x51,0x26,0x18,0x42,0x7e,0x00,0xc0,0x02,0xd1,0x1e,0x70,0x4b,0x80,0x01,0xc0,0x01,
-0xd1,0x2d,0x70,0x4b,0x80,0x00,0xc0,0x02,0x51,0x2d,0x20,0x60,0x00,0x00,0x9c,0xa7,
+0xd1,0x2d,0x70,0x4b,0x80,0x00,0xc0,0x02,0x51,0x2d,0x20,0x60,0x00,0x00,0x45,0xe7,
 0xaa,0x55,0x40,0x00,0x00,0x40,0x22,0x00,0x00,0x00,0x00,0x40,0x10,0x20,0x00,0x00,
 0x00,0xe0,0x01,0x00,0x01,0x00,0x20,0x02,0x10,0x00,0x0c,0x12,0x00,0x59,0x00,0x01,
 0x00,0x08,0x00,0x00,0x00,0x00,0x68,0x00,0x08,0x80,0x22,0x00,0x01,0xf4,0x02,0x00,
Index: patch/patch.prog
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/shoubing/patch/patch.prog	(revision 854)
+++ /YC3121_demo/ModuleDemo/BlueTooth/shoubing/patch/patch.prog	(working copy)
@@ -65,7 +65,7 @@
 //	bpatch patch06_4,mem_patch06
 	fetch 1,mem_state_map
 	set0 smap_encryption,pdata
-	store 1,smap_encryption
+	store 1,mem_state_map
 	branch send_eir+1
 	
 p_context_search:
Index: program_patch/main_patch.prog
===================================================================
--- /YC3121_demo/ModuleDemo/BlueTooth/shoubing/program_patch/main_patch.prog	(revision 854)
+++ /YC3121_demo/ModuleDemo/BlueTooth/shoubing/program_patch/main_patch.prog	(working copy)
@@ -65,7 +65,7 @@
 //	bpatch patch06_4,mem_patch06
 	fetch 1,mem_state_map
 	set0 smap_encryption,pdata
-	store 1,smap_encryption
+	store 1,mem_state_map
 	branch send_eir+1
 	
 p_context_search:
