Merge pull request #1748 from hnyman/wifidata
authorHannu Nyman <hannu.nyman@iki.fi>
Fri, 18 May 2018 09:51:24 +0000 (12:51 +0300)
committerGitHub <noreply@github.com>
Fri, 18 May 2018 09:51:24 +0000 (12:51 +0300)
luci-base: show wifi chip identification on overview

modules/luci-base/luasrc/model/network.lua

index dfe818b..0f58c16 100644 (file)
@@ -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