mirror of
https://github.com/proski/madwifi
synced 2024-11-22 14:31:22 +03:00
Fixed a double locking bug - Merge from madwifi-dfs branch
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2936 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
230a7edfe9
commit
8f7da38c30
@ -1519,15 +1519,15 @@ ieee80211_find_rxnode(struct ieee80211com *ic,
|
||||
IEEE80211_NODE_TABLE_LOCK_IRQ(nt);
|
||||
if (IS_CTL(wh) && !IS_PSPOLL(wh) /*&& !IS_RTS(ah)*/)
|
||||
#ifdef IEEE80211_DEBUG_REFCNT
|
||||
ni = ieee80211_find_node_debug(nt, wh->i_addr1, func, line);
|
||||
ni = ieee80211_find_node_locked_debug(nt, wh->i_addr1, func, line);
|
||||
#else
|
||||
ni = ieee80211_find_node(nt, wh->i_addr1);
|
||||
ni = ieee80211_find_node_locked(nt, wh->i_addr1);
|
||||
#endif
|
||||
else
|
||||
#ifdef IEEE80211_DEBUG_REFCNT
|
||||
ni = ieee80211_find_node_debug(nt, wh->i_addr2, func, line);
|
||||
ni = ieee80211_find_node_locked_debug(nt, wh->i_addr2, func, line);
|
||||
#else
|
||||
ni = ieee80211_find_node(nt, wh->i_addr2);
|
||||
ni = ieee80211_find_node_locked(nt, wh->i_addr2);
|
||||
#endif
|
||||
IEEE80211_NODE_TABLE_UNLOCK_IRQ(nt);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user