Re: [PATCH] mac80211_hwsim: release driver when ieee80211_register_hw fails

From: Martin Pitt
Date: Wed Oct 29 2014 - 02:54:00 EST


Acked-By: Martin Pitt <martin.pitt@xxxxxxxxxx>

Hello Junjie,

Junjie Mao [2014-10-28 9:31 +0800]:
> The driver is not released when ieee80211_register_hw fails in
> mac80211_hwsim_create_radio, leading to the access to the unregistered (and
> possibly freed) device in platform_driver_unregister:

Many thanks for fixing this! Sorry about that, I don't know these bits
very well.

Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

Attachment: signature.asc
Description: Digital signature