Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111164
b: refs/heads/master
c: d92a8e8
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and John W. Linville committed Aug 22, 2008
1 parent 3fdd2cb commit 4f70c00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ff41eb0d9a937957d481d4f058a91230851ae17
refs/heads/master: d92a8e81e097968d8f2bac0581a0a43bff14b8f0
8 changes: 4 additions & 4 deletions trunk/net/ieee80211/ieee80211_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv)
err = ieee80211_networks_allocate(ieee);
if (err) {
IEEE80211_ERROR("Unable to allocate beacon storage: %d\n", err);
goto failed;
goto failed_free_netdev;
}
ieee80211_networks_initialize(ieee);

Expand Down Expand Up @@ -193,9 +193,9 @@ struct net_device *alloc_ieee80211(int sizeof_priv)

return dev;

failed:
if (dev)
free_netdev(dev);
failed_free_netdev:
free_netdev(dev);
failed:
return NULL;
}

Expand Down

0 comments on commit 4f70c00

Please sign in to comment.