projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
luci-base: show wifi chip identification on overview
[project/luci.git]
/
modules
/
luci-base
/
luasrc
/
model
/
network.lua
diff --git
a/modules/luci-base/luasrc/model/network.lua
b/modules/luci-base/luasrc/model/network.lua
index
dfe818b
..
0f58c16
100644
(file)
--- a/
modules/luci-base/luasrc/model/network.lua
+++ b/
modules/luci-base/luasrc/model/network.lua
@@
-1428,7
+1428,7
@@
function wifidev.hwmodes(self)
end
function wifidev.get_i18n(self)
end
function wifidev.get_i18n(self)
- local t = "Generic"
+ local t =
self.iwinfo.hardware_name or
"Generic"
if self.iwinfo.type == "wl" then
t = "Broadcom"
end
if self.iwinfo.type == "wl" then
t = "Broadcom"
end