Browse Source

ffho-ath9k-blackout-workaround: fix value of device radio

Julian Labus 6 years ago
parent
commit
814f877daa

+ 1 - 1
ffho/ffho-ath9k-blackout-workaround/luasrc/usr/sbin/ath9k-blackout-workaround

@@ -14,7 +14,7 @@ function time2file (file)
 end
 
 function devOk (iface)
-  local radio = uci:get_all('wireless', iface, 'radio')
+  local radio = uci:get_all('wireless', iface, 'device')
   local disabled = uci:get_bool('wireless', iface, 'disabled') or uci:get_bool('wireless', radio, 'disabled')
   if disabled then
     return null