Skip to content

Commit 686ad9c

Browse files
Juha Heiskanenjuhhei01
authored andcommitted
Fix acynch --> asynch
1 parent b4059b8 commit 686ad9c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/6LoWPAN/ws/ws_llc_data_service.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ typedef struct {
9494
mpx_class_t mpx_data_base; /**< MPX data be including USER API Class and user call backs */
9595
llc_message_list_t llc_message_list; /**< Active Message list */
9696
llc_ie_params_t ie_params; /**< LLC IE header and Payload data configuration */
97-
ws_asynch_ind *acynch_ind; /**< LLC Asynch data indication call back configured by user */
97+
ws_asynch_ind *asynch_ind; /**< LLC Asynch data indication call back configured by user */
9898
ws_asynch_confirm *asynch_confirm; /**< LLC Asynch data confirmation call back configured by user */
9999
protocol_interface_info_entry_t *interface_ptr; /**< List link entry */
100100
ns_list_link_t link; /**< List link entry */
@@ -460,7 +460,7 @@ static void ws_llc_mac_indication_cb(const mac_api_t* api, const mcps_data_ind_t
460460
}
461461

462462
//Asynch Message
463-
if (ws_utt.message_type < WS_FT_DATA && base->acynch_ind) {
463+
if (ws_utt.message_type < WS_FT_DATA && base->asynch_ind) {
464464
mac_payload_IE_t ws_wp_nested;
465465

466466
ws_wp_nested.id = WS_WP_NESTED_IE;
@@ -474,7 +474,7 @@ static void ws_llc_mac_indication_cb(const mac_api_t* api, const mcps_data_ind_t
474474
asynch_ie_list.headerIeListLength = ie_ext->headerIeListLength;
475475
asynch_ie_list.payloadIeList = ws_wp_nested.content_ptr;
476476
asynch_ie_list.payloadIeListLength = ws_wp_nested.length;
477-
base->acynch_ind(interface,data, &asynch_ie_list, ws_utt.message_type);
477+
base->asynch_ind(interface,data, &asynch_ie_list, ws_utt.message_type);
478478
}
479479

480480
}
@@ -678,7 +678,7 @@ int8_t ws_llc_create(struct protocol_interface_info_entry *interface, ws_asynch_
678678
}
679679

680680
base->interface_ptr = interface;
681-
base->acynch_ind = asynch_ind_cb;
681+
base->asynch_ind = asynch_ind_cb;
682682
base->asynch_confirm = asynch_cnf_cb;
683683
//Register MAC Extensions
684684
base->interface_ptr->mac_api->mac_mcps_extension_enable(base->interface_ptr->mac_api, &ws_llc_mac_indication_cb, &ws_llc_mac_confirm_cb);

0 commit comments

Comments
 (0)