Re: [PATCH 04/10] mac80211: call drv_stop only if driver is started

2015-11-03 Thread Johannes Berg
On Sun, 2015-10-25 at 10:59 +0200, Emmanuel Grumbach wrote: > From: Eliad Peller > > If drv_start() fails during hw_restart, all the running > interfaces are being closed/stopped, which results in > drv_stop() being called, although the driver was never > started successfully. > Applied. johann

[PATCH 04/10] mac80211: call drv_stop only if driver is started

2015-10-25 Thread Emmanuel Grumbach
From: Eliad Peller If drv_start() fails during hw_restart, all the running interfaces are being closed/stopped, which results in drv_stop() being called, although the driver was never started successfully. This might cause drivers to perform operations on uninitialized memory (as they assume it