Bluetooth: Use LE Rand workaround for MyNewt on Quark SE Devboard
LE Rand command crashing the MyNewt HCI firmware issue has been also observed on Quark SE Devboard. Applying this workaround solves the problem. Change-Id: I57a533309ced0b2d31517a65ac1899ed55112973 Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com>
This commit is contained in:
parent
ad281d4dbe
commit
2dda2a9835
1 changed files with 2 additions and 2 deletions
|
@ -2210,7 +2210,7 @@ static void hci_cmd_status(struct net_buf *buf)
|
||||||
|
|
||||||
static inline void mynewt_rand_delay(void)
|
static inline void mynewt_rand_delay(void)
|
||||||
{
|
{
|
||||||
#if defined(CONFIG_BOARD_ARDUINO_101)
|
#if defined(CONFIG_BOARD_ARDUINO_101) || defined(CONFIG_BOARD_QUARK_SE_DEVBOARD)
|
||||||
/* FIXME: Temporary hack for MyNewt HCI firmware which
|
/* FIXME: Temporary hack for MyNewt HCI firmware which
|
||||||
* crashes if it receives too rapid LE_Rand commands.
|
* crashes if it receives too rapid LE_Rand commands.
|
||||||
*/
|
*/
|
||||||
|
@ -2219,7 +2219,7 @@ static inline void mynewt_rand_delay(void)
|
||||||
} else {
|
} else {
|
||||||
task_sleep(MSEC(30));
|
task_sleep(MSEC(30));
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* CONFIG_BOARD_ARDUINO_101 || CONFIG_BOARD_QUARK_SE_DEVBOARD */
|
||||||
}
|
}
|
||||||
|
|
||||||
static int prng_reseed(struct tc_hmac_prng_struct *h)
|
static int prng_reseed(struct tc_hmac_prng_struct *h)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue