]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Staging: wlan-ng: wiphy_free() is not called in case wiphy_register() fails
authorClaudiu Beznea <claudiu.beznea@gmail.com>
Wed, 23 Mar 2016 18:37:26 +0000 (20:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
commitf96b36c779f92328bb1c802e6268609191d4449d
tree2c0f545ba62048093c04fb974fae4ed020b64026
parent80e3e241fa56312f7a837b7e4781ecffed0b8db6
Staging: wlan-ng: wiphy_free() is not called in case wiphy_register() fails

This patch covers wiphy_register() failures in wlan_create_wiphy()
from cfg80211.c by calling wiphy_free() for the correspondent
struct wiphy allocated structure.

Signed-off-by: Claudiu Beznea <claudiu.beznea@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/cfg80211.c