Avoid to start of communication notifier if it already is active
This happens in the QSP::clear() method, where the WaitCommEvent()
function returns with an error "The parameter is incorrect",
because it calls when the waiting already is active.
Tested with the virtual com0com and on-board serial ports.
Change-Id: I351a336f2d3c05852a654e7bccc3ff84d7aba025
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
| commit | bec0b027f802d20dee00a33e9bc83d1d07b2dd42 |
| parent | 8f7cd12c08095c17e96c3baf2076679529742023 |
| author | Denis Shienkov <denis.shienkov@gmail.com> |
| committer | Denis Shienkov <denis.shienkov@gmail.com> |
| commit time | Thu, 27 Aug 2015 12:47:46 +0000 |