gluon-ath9k-workaround: Announce how often the workaround has been triggered.

This commit is contained in:
Daniel Ehlers 2014-07-08 12:40:04 +02:00
parent bb699204ca
commit 941e398572

View File

@ -0,0 +1,10 @@
function trigger_count ()
return tonumber(fs.readfile('/tmp/ath9k_workaround_trigger'))
end
local ok, value = pcall(trigger_count)
if ok then
return value
else
return 0
end