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:
benoit 2007-11-23 22:50:01 +00:00
parent 230a7edfe9
commit 8f7da38c30

View File

@ -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);