When fixing the initialization race, we neglected to account for
the fact that debugfs is initialized in wiphy_register(), and
some debugfs things went missing (or rather were rerooted to the
global debugfs root).
Fix this by adding debugfs entries only after wiphy_register().
This requires some changes in the rate control code since it
currently adds debugfs at alloc time, which can no longer be
done after the reordering.
Reported-by: Jouni Malinen <j@w1.fi>
Reported-by: kernel test robot <rong.a.chen@intel.com>
Reported-by: Hauke Mehrtens <hauke@hauke-m.de>
Reported-by: Felix Fietkau <nbd@nbd.name>
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
agn.h | ||
calib.c | ||
calib.h | ||
commands.h | ||
debugfs.c | ||
dev.h | ||
devices.c | ||
led.c | ||
led.h | ||
lib.c | ||
mac80211.c | ||
main.c | ||
Makefile | ||
power.c | ||
power.h | ||
rs.c | ||
rs.h | ||
rx.c | ||
rxon.c | ||
scan.c | ||
sta.c | ||
tt.c | ||
tt.h | ||
tx.c | ||
ucode.c |