Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253396
b: refs/heads/master
c: 59e7e70
h: refs/heads/master
v: v3
  • Loading branch information
Thadeu Lima de Souza Cascardo authored and John W. Linville committed Jun 3, 2011
1 parent 0455ccd commit 764f00c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f213ff1919fab6f8244ceae55631b5d6ef750a7
refs/heads/master: 59e7e7078d6c2c6294caf454c6e3695f9d3e46a2
4 changes: 4 additions & 0 deletions trunk/net/mac80211/iface.c
Original file line number Diff line number Diff line change
Expand Up @@ -1145,6 +1145,10 @@ int ieee80211_if_add(struct ieee80211_local *local, const char *name,
+ IEEE80211_ENCRYPT_HEADROOM;
ndev->needed_tailroom = IEEE80211_ENCRYPT_TAILROOM;

ret = dev_alloc_name(ndev, ndev->name);
if (ret < 0)
goto fail;

ieee80211_assign_perm_addr(local, ndev, type);
memcpy(ndev->dev_addr, ndev->perm_addr, ETH_ALEN);
SET_NETDEV_DEV(ndev, wiphy_dev(local->hw.wiphy));
Expand Down

0 comments on commit 764f00c

Please sign in to comment.