Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57096
b: refs/heads/master
c: ef7ab23
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and John W. Linville committed May 29, 2007
1 parent 29472e7 commit b8d5926
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: a76193df7c7b60f9facb4090c5ec082e06582209
refs/heads/master: ef7ab2357ba09e8a795018640a87e93dfa043360
5 changes: 4 additions & 1 deletion trunk/net/ieee80211/softmac/ieee80211softmac_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ struct net_device *alloc_ieee80211softmac(int sizeof_priv)
struct ieee80211softmac_device *softmac;
struct net_device *dev;

dev = alloc_ieee80211(sizeof(struct ieee80211softmac_device) + sizeof_priv);
dev = alloc_ieee80211(sizeof(*softmac) + sizeof_priv);
if (!dev)
return NULL;

softmac = ieee80211_priv(dev);
softmac->dev = dev;
softmac->ieee = netdev_priv(dev);
Expand Down

0 comments on commit b8d5926

Please sign in to comment.