diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2018-05-18 12:51:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-18 12:51:24 +0300 |
commit | 521554f4a7a082e5c79fa5a1747d9f48dfc6b93c (patch) | |
tree | c022a09228d79b80787532e0e000ea988cc833e2 /modules | |
parent | 7b684361cc5b0a140ae2e046d8ef1f47a7260195 (diff) | |
parent | 4edc9256fa2e7194a3b015dce2cd6dbb04eac0a6 (diff) |
Merge pull request #1748 from hnyman/wifidata
luci-base: show wifi chip identification on overview
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-base/luasrc/model/network.lua | 2 |
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 dfe818bcc7..0f58c16848 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 |