Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311375
b: refs/heads/master
c: f8cdddb
h: refs/heads/master
i:
  311373: 524b910
  311371: a9e5b41
  311367: 2db7c6a
  311359: f286e50
v: v3
  • Loading branch information
Michal Kazior authored and Johannes Berg committed Jun 9, 2012
1 parent 6e13c5e commit a2caaf2
Show file tree
Hide file tree
Showing 2 changed files with 2 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: d13e14148154e5ce58467e76321eef1dd912c416
refs/heads/master: f8cdddb8d61d16a156229f0910f7ecfc7a82c003
2 changes: 1 addition & 1 deletion trunk/net/wireless/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ int cfg80211_change_iface(struct cfg80211_registered_device *rdev,
ntype == NL80211_IFTYPE_P2P_CLIENT))
return -EBUSY;

if (ntype != otype) {
if (ntype != otype && netif_running(dev)) {
err = cfg80211_can_change_interface(rdev, dev->ieee80211_ptr,
ntype);
if (err)
Expand Down

0 comments on commit a2caaf2

Please sign in to comment.