mirror of
https://github.com/proski/madwifi
synced 2024-11-24 15:30:09 +03:00
Add an informational message when debug flags are changed.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3744 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
78cbb40469
commit
70e6e83fc8
@ -10613,6 +10613,9 @@ ATH_SYSCTL_DECL(ath_sysctl_halparam, ctl, write, filp, buffer, lenp, ppos)
|
||||
case ATH_DEBUG:
|
||||
sc->sc_debug = (val & ~ATH_DEBUG_GLOBAL);
|
||||
ath_debug_global = (val & ATH_DEBUG_GLOBAL);
|
||||
IPRINTF(sc, "Ath. debug flags changed to "
|
||||
"0x%08x.\n", val);
|
||||
|
||||
break;
|
||||
case ATH_TXANTENNA:
|
||||
/*
|
||||
|
@ -542,6 +542,8 @@ IEEE80211_SYSCTL_DECL(ieee80211_sysctl_debug, ctl, write, filp, buffer,
|
||||
if (ret == 0) {
|
||||
vap->iv_debug = (val & ~IEEE80211_MSG_IC);
|
||||
vap->iv_ic->ic_debug = (val & IEEE80211_MSG_IC);
|
||||
printk(KERN_INFO "%s debug flags changed to 0x%08x.\n",
|
||||
vap->iv_dev->name, val);
|
||||
}
|
||||
} else {
|
||||
/* VAP specific and 'global' debug flags */
|
||||
|
Loading…
Reference in New Issue
Block a user