]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: add blocking debugfs file for retrieving firmware logs
authorKalle Valo <kvalo@qca.qualcomm.com>
Mon, 6 Feb 2012 06:23:40 +0000 (08:23 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 8 Feb 2012 09:25:07 +0000 (11:25 +0200)
commitd1156e3b6f21e403f81fd07d7df0ad5290b7bb80
tree285723e62f2e40814d164597c6a44340e0d8566f
parent9bbaef82bafc464091414cba4f710b3ee8eb7615
ath6kl: add blocking debugfs file for retrieving firmware logs

When debugging firmware issues it's not always enough to get
the latest firmware logs, sometimes we need to get logs from a longer
period. To make this possible, add a debugfs file named fwlog_block. When
reading from this file ath6kl will send firmware logs whenever available
and otherwise it will block and wait for new logs.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/debug.c