libqmi: mock_open: mark device as open

We accidentally forgot to mark the mock device as open when we opened it.
This was tripping an assert failure when we tried to close it and thought
it was already closed.

BUG=None
TEST=New version of qmidev_unittest fails better

Change-Id: Ibb3d5f735847f2c416df264532ec76aeefb3c029
1 file changed
tree: 9c05c7093b9f9c2963a873e7965b64b60a924cd5
  1. LICENSE
  2. Makefile
  3. README
  4. include/
  5. src/