summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2018-05-18 12:51:24 +0300
committerGitHub <noreply@github.com>2018-05-18 12:51:24 +0300
commit521554f4a7a082e5c79fa5a1747d9f48dfc6b93c (patch)
treec022a09228d79b80787532e0e000ea988cc833e2 /modules/luci-base/luasrc
parent7b684361cc5b0a140ae2e046d8ef1f47a7260195 (diff)
parent4edc9256fa2e7194a3b015dce2cd6dbb04eac0a6 (diff)
Merge pull request #1748 from hnyman/wifidata
luci-base: show wifi chip identification on overview
Diffstat (limited to 'modules/luci-base/luasrc')
-rw-r--r--modules/luci-base/luasrc/model/network.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/model/network.lua b/modules/luci-base/luasrc/model/network.lua
index dfe818bcc..0f58c1684 100644
--- 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)
- local t = "Generic"
+ local t = self.iwinfo.hardware_name or "Generic"
if self.iwinfo.type == "wl" then
t = "Broadcom"
end