[ 
https://issues.apache.org/jira/browse/MYNEWT-737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15982280#comment-15982280
 ] 

ASF subversion and git services commented on MYNEWT-737:
--------------------------------------------------------

Commit 5a869e3e2e791fd83e763a02fcecb4803de6ce37 in incubator-mynewt-core's 
branch refs/heads/master from [~wes3]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=5a869e3 
]

nimble/transport; MYNEWT-737: Make ble_hci_uart_tx_char more efficient

Per pull request review, add assert() if om is NULL. Did not
modify the rest of the code in case assert() is compiled out
by NDEBUG being defined.


> Make ble_hci_uart_tx_char more efficient
> ----------------------------------------
>
>                 Key: MYNEWT-737
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-737
>             Project: Mynewt
>          Issue Type: Improvement
>          Components: Nimble
>    Affects Versions: v1_1_0_rel, v1_0_0_rel
>            Reporter: William San Filippo
>             Fix For: v1_1_0_rel
>
>
> Recently there was a bug fixed in ble_hci_uart_tx_char(). The original code 
> assumed a single mbuf but now that we have mbuf chains, the code could 
> probably be made more efficient, as using os_mbuf_copydata and os_mbuf_adj() 
> is a bit heavyweight for single mbuf copies



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to