bugfix for duplicate symbol

Fork of nRF51822 by Nordic Semiconductor

Revision:
85:17fe69405098
Parent:
84:658e5ec772a1
Child:
97:e95e35845e1c
--- a/btle/custom/custom_helper.cpp	Fri Dec 12 14:15:16 2014 +0000
+++ b/btle/custom/custom_helper.cpp	Fri Dec 12 17:12:35 2014 +0000
@@ -226,7 +226,7 @@
         BLE_GAP_CONN_SEC_MODE_SET_OPEN(&attr_md.read_perm);
     }
 
-    if (char_props.write) {
+    if (char_props.write || char_props.write_wo_resp) {
         BLE_GAP_CONN_SEC_MODE_SET_OPEN(&attr_md.write_perm);
     }