mirror of
https://github.com/proski/madwifi
synced 2024-11-25 07:49:43 +03:00
Don't call dump_stack() for mere debugging, without major errors
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3941 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
6aafc1bd85
commit
0a63a44b94
@ -12366,8 +12366,6 @@ ath_return_txbuf_locked(struct ath_softc *sc, struct ath_buf **bf)
|
|||||||
DPRINTF(sc, ATH_DEBUG_TXBUF,
|
DPRINTF(sc, ATH_DEBUG_TXBUF,
|
||||||
"[TXBUF=%03d/%03d] returned txbuf %p.\n",
|
"[TXBUF=%03d/%03d] returned txbuf %p.\n",
|
||||||
ath_get_buffer_count(sc), ATH_TXBUF);
|
ath_get_buffer_count(sc), ATH_TXBUF);
|
||||||
if (DFLAG_ISSET(sc, ATH_DEBUG_TXBUF))
|
|
||||||
dump_stack();
|
|
||||||
#endif /* #ifdef IEEE80211_DEBUG_REFCNT */
|
#endif /* #ifdef IEEE80211_DEBUG_REFCNT */
|
||||||
if (netif_queue_stopped(sc->sc_dev) &&
|
if (netif_queue_stopped(sc->sc_dev) &&
|
||||||
(ath_get_buffers_available(sc) > ATH_TXBUF_MGT_RESERVED) &&
|
(ath_get_buffers_available(sc) > ATH_TXBUF_MGT_RESERVED) &&
|
||||||
|
@ -812,8 +812,6 @@ node_cleanup(struct ieee80211_node *ni)
|
|||||||
IEEE80211_NOTE(vap, IEEE80211_MSG_POWER, ni,
|
IEEE80211_NOTE(vap, IEEE80211_MSG_POWER, ni,
|
||||||
"Power save mode off, %u STAs in PS mode",
|
"Power save mode off, %u STAs in PS mode",
|
||||||
vap->iv_ps_sta);
|
vap->iv_ps_sta);
|
||||||
if (ieee80211_msg_is_reported(vap, IEEE80211_MSG_POWER))
|
|
||||||
dump_stack();
|
|
||||||
#endif
|
#endif
|
||||||
if (ni->ni_flags & IEEE80211_NODE_UAPSD_TRIG) {
|
if (ni->ni_flags & IEEE80211_NODE_UAPSD_TRIG) {
|
||||||
ni->ni_flags &= ~IEEE80211_NODE_UAPSD_TRIG;
|
ni->ni_flags &= ~IEEE80211_NODE_UAPSD_TRIG;
|
||||||
@ -888,7 +886,6 @@ node_print_message(
|
|||||||
ni->ni_table != NULL ? " table" : "",
|
ni->ni_table != NULL ? " table" : "",
|
||||||
ni->ni_table != NULL ? "" : " (not in any tables)",
|
ni->ni_table != NULL ? "" : " (not in any tables)",
|
||||||
adjusted_refcount);
|
adjusted_refcount);
|
||||||
dump_stack();
|
|
||||||
va_end(args);
|
va_end(args);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
@ -129,9 +129,6 @@ static void skb_print_message(
|
|||||||
func, line,
|
func, line,
|
||||||
expanded_message);
|
expanded_message);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
#ifdef IEEE80211_DEBUG_REFCNT
|
|
||||||
dump_stack();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef IEEE80211_DEBUG_REFCNT
|
#ifdef IEEE80211_DEBUG_REFCNT
|
||||||
|
Loading…
Reference in New Issue
Block a user