diff options
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index 899090108837..5c58c50b430d 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -823,6 +823,7 @@ wlan_private *wlan_add_card(void *card) | |||
823 | 823 | ||
824 | err_kzalloc: | 824 | err_kzalloc: |
825 | free_netdev(dev); | 825 | free_netdev(dev); |
826 | priv = NULL; | ||
826 | done: | 827 | done: |
827 | lbs_deb_leave_args(LBS_DEB_NET, "priv %p", priv); | 828 | lbs_deb_leave_args(LBS_DEB_NET, "priv %p", priv); |
828 | return priv; | 829 | return priv; |