Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134957
b: refs/heads/master
c: 0bfbce1
h: refs/heads/master
i:
  134955: 7fef3c3
v: v3
  • Loading branch information
Jouni Malinen authored and John W. Linville committed Feb 27, 2009
1 parent aa91dc3 commit e73fd3f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 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: 222d0b33b3778a8fa156f3fca284d0a71f8e966b
refs/heads/master: 0bfbce18b9c11201ebf1cfbc0deeab7bdbfe32a5
2 changes: 1 addition & 1 deletion trunk/net/wireless/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ extern struct list_head cfg80211_drv_list;

static inline void assert_cfg80211_lock(void)
{
BUG_ON(!mutex_is_locked(&cfg80211_mutex));
WARN_ON(!mutex_is_locked(&cfg80211_mutex));
}

/*
Expand Down
2 changes: 0 additions & 2 deletions trunk/net/wireless/nl80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ static int nl80211_send_wiphy(struct sk_buff *msg, u32 pid, u32 seq, int flags,
int i;
u16 ifmodes = dev->wiphy.interface_modes;

assert_cfg80211_lock();

hdr = nl80211hdr_put(msg, pid, seq, flags, NL80211_CMD_NEW_WIPHY);
if (!hdr)
return -1;
Expand Down

0 comments on commit e73fd3f

Please sign in to comment.