Cascoda / ca8210-linux

Linux kernel driver for direct SPI communication with Cascoda's CA-8210 IEEE 802.15.4 transceiver
BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

Opening the driver file twice causes undefined behaviour and crashes #2

Closed CiaranWoodward closed 7 years ago

CiaranWoodward commented 8 years ago

Opening the driver file twice causes undefined behaviour and crashes.

It is probably worth throwing some sort of error to the user application if the driver is attempted to be opened a second time. Current behaviour would render each user application unuseable and renders the system unstable.

HarryMorris commented 7 years ago

Issue should be fixed by https://github.com/Cascoda/ca8210-linux/commit/c6abddd346c745972ee6c5a2d796f95232a6d8db