From patchwork Thu Sep 5 13:25:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Schmutzler X-Patchwork-Id: 1158427 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=adrianschmutzler.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="STquFpe8"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46PLzT1FKrz9sNf for ; Thu, 5 Sep 2019 23:25:40 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Message-Id:Date:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=6Tl068YOkSi7j9IygbIueCLLDnX888j/h8fjgyeSkO8=; b=STquFpe8JTrYIs AkWKR0VGhxaoIwagL1yRNF+ea1kXXyTKblnYXvWibnIErCw+0A4J3UAgNSO9voNO6yqE1CaRYKQjs sfA9H8Z64+wGqsDRLgagX8FSIgs/62uNQox7v/HzHU5wfW1Pa7heQ57epeqCyg3lNOSaD/Eojg6bI 8+BWTLHATHE3hE0+k2E7hU8iQJSDBvdhjksiImXCy3MyuhUV+bG2qSOG2b+5buNNbscLx1OB7c4Ou VtCFyKK+JAKGOgGBykps5uF8zqzLlAavhSjeOT785y0jHhXiq0qqB3rWq4LOVjx7DKWjIiDJpzTCg +fqSYdWEOr/37aU7j5dQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i5rlY-0007ba-7p; Thu, 05 Sep 2019 13:25:36 +0000 Received: from mout.kundenserver.de ([212.227.17.10]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i5rlV-0007aH-9M for openwrt-devel@lists.openwrt.org; Thu, 05 Sep 2019 13:25:34 +0000 Received: from buildfff.adridolf.com ([188.193.187.204]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MY60J-1heCXs3FDp-00YOK2 for ; Thu, 05 Sep 2019 15:25:29 +0200 From: Adrian Schmutzler To: openwrt-devel@lists.openwrt.org Date: Thu, 5 Sep 2019 15:25:24 +0200 Message-Id: <20190905132526.2376-1-freifunk@adrianschmutzler.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:3x6W9VmxZazBM8B+pZVM7af0SJvT6PFco3Q5hZFnoLN9D8/J3N2 ZyRod5OQsTBmLkrLT+8oKjO5WI+zXbPi/FfJnvcE8wP2UhJd1r7jj7yEsS+cmxRNsSE+Sc4 xF2pxnC0ge3zwdvl1wzfWxbZrVx6i3Jy1CUF+MmdTb4vLVVQonBtjaA0DUfBKmRJJLNsrJe RlDMhNwmzVGjpuwQNxHQw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:njeYnnS7Q3w=:742ARcQHjcBzeg5VS9Pu2k 9cYQU/crZwmCgdleDAmCtxtzN97zp3jNwxMVr9OV082efYzAPPmCirQF0tIiWzm4MyzxXF3p/ Lje0JpYqjoxShN2eJf4mUXSPf6tOZbCPIec8rDHjNlmRLrAbFyyHXCPggpSxLePc7Ci8IaIZ4 QNLIl+EzjKwe0IiFnctuMjgXzE6TFkQUpz6mYSRDA1aam+lHBZVSONdhN/YYf7MfPbxR/hBbj UbwDhSWRaSfli7LLYSWMU/hO8+R6QA0TYXUIcGtTHy4kqPI+pcDVPyBQrPtR0MAI9QWFaSGoC CF+M631mlLOQ7aJZIQ5Tyk6QcyIzfzFdq+dwoUMLA/GkwY48cwPs1IHIwP5En3oPG36bmA/gW iCG6dRy/Q7nWpbshdEdl8P+8Mgs8/v9KRd1M4rgoWODHtujcLwx55sEWqkr5W6ExDIVEZTZeB srXkJbmHnKEGuh/sLXgiLcSSYoit8e+Ys3ZC0//TJSyzlHI9QJGt2J5Fja8G0qZAQ23BWjvAu 26aUg1L3pWEUz6u95sHnViiHfoQpD/6WP0Oi8Ped67YRA8+eYwgpoHlrHU/bH2PNh4ODyvUMx bfD0pc4ppEGL88bcdEus32XzJbfwmp7UK427ca5SB4LprmuMmzvVYcwbBVmMMIA3JxTbbIRPb D0yQnkYI8Z8eSuwmoai4xH80pgtCNIzwzYLtRVdjmjvL7DcrzjE1U/HHGiavKqUVEdSBY15Vu SarTN9O9tTGIuo6XLkMvrGAKC6K2e1TXhInZWnERob7Ze6QWC9j1SAuXQ+4/AE/BrCRdX0M/B 0MNbvhqMi24cmgzAwNaDsjW0wJlXM5gM5hFudnofkFw9wLHjw8Mx2lwNUQQyPKHYFFVUcKa X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190905_062533_623848_FF383FC5 X-CRM114-Status: UNSURE ( 8.93 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [212.227.17.10 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.17.10 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record Subject: [OpenWrt-Devel] [PATCH 1/3] ath79: fix whitespaces in 10_fix_wifi_mac X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org This converts leading whitespaces to tabs and removes a double newline at the end of the file. Signed-off-by: Adrian Schmutzler --- .../etc/hotplug.d/ieee80211/10_fix_wifi_mac | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac index 3e1cfda84d..2e2179aee3 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac +++ b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac @@ -35,14 +35,13 @@ case "$board" in k2t_get_mac "lan_mac" > /sys${DEVPATH}/macaddress ;; trendnet,tew-823dru) - # set the 2.4G interface mac address to LAN MAC - [ "$PHYNBR" -eq 1 ] && \ - mtd_get_mac_text mac 4 > /sys${DEVPATH}/macaddress - # set the 5G interface mac address to WAN MAC + 1 - [ "$PHYNBR" -eq 0 ] && \ - macaddr_add "$(mtd_get_mac_text mac 0x18)" 1 > /sys${DEVPATH}/macaddress - ;; + # set the 2.4G interface mac address to LAN MAC + [ "$PHYNBR" -eq 1 ] && \ + mtd_get_mac_text mac 4 > /sys${DEVPATH}/macaddress + # set the 5G interface mac address to WAN MAC + 1 + [ "$PHYNBR" -eq 0 ] && \ + macaddr_add "$(mtd_get_mac_text mac 0x18)" 1 > /sys${DEVPATH}/macaddress + ;; *) ;; esac - From patchwork Thu Sep 5 13:25:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Schmutzler X-Patchwork-Id: 1158429 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=adrianschmutzler.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pb/M+fve"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46PM001wc5z9sPG for ; Thu, 5 Sep 2019 23:26:08 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=wPq4gflKZp0BWlXkCc3JeyBG4MI7IQDB9aw76l3yr3s=; b=pb/M+fveIHovgb1HoV1ZUBpZyj U7Ily1IGbwFzoEZb2xz5vN9MwwrbuHjdGOBLYxbpoxfE2GyciyWtg4CNtELLEGC98x/fKLMw/KmfC 0ZtotRHNOeh/tT0zIPgoOyLttQYS+3Hygxjh6OJDtaTw1is22PAXUVBRwWlmu9hQOyDxkl3aEa3Pt eLLGuyWCGfwfxY3IIvmRW3ItSujLygxPQjT7rx9Y+0PXE/V+kLbX86JPdaWOrPAIJ2ZJ4M8BZeqDI hdbYDbE5HNX2i3yf+7hdcOKhPvBwkt7C0EH6JIjP1ljOe91GO+lT7dFcdk8HVoaRurIynw+EOqYCe 6KXrQtOA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i5rm2-00087Y-5Y; Thu, 05 Sep 2019 13:26:06 +0000 Received: from mout.kundenserver.de ([217.72.192.75]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i5rlX-0007ao-GB for openwrt-devel@lists.openwrt.org; Thu, 05 Sep 2019 13:25:36 +0000 Received: from buildfff.adridolf.com ([188.193.187.204]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MTRIg-1hirEz3re0-00ThUp for ; Thu, 05 Sep 2019 15:25:30 +0200 From: Adrian Schmutzler To: openwrt-devel@lists.openwrt.org Date: Thu, 5 Sep 2019 15:25:25 +0200 Message-Id: <20190905132526.2376-2-freifunk@adrianschmutzler.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190905132526.2376-1-freifunk@adrianschmutzler.de> References: <20190905132526.2376-1-freifunk@adrianschmutzler.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:MgOO3H0Izi9+kWv+BwgPgXVorFPcDiWeyg+jsMtVSADMV0RamRM hpiXaWrRDlAlu4cBfusxZae6UuIALdhYojI4sVw7sRjkUu76nTi53efdcRlxMS3C1CL7BLs GraHLaO6Ot1FNROridAJnn1uzuKgsGnj7iV2xoqk8/kAMixVZ+iQZnD289AMitYh183lvTd btInshYQ9bhnnR+dWjZpQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:OJ8HiPebVZI=:4DpnHUSsHz1MLVazyJfS1h QDYz8OM1Jd80O9jG/xHexWqwOrBxJOYrNTwjr4Jpj2htxFqUXkT+pf8wf2sntVDB/+RT/XO60 FhHqDsBSsO3gn3lAbZfY2z/efC3Wcp6sC0ebS9KoEcacmUr1GkMaiCcjh10H0DFDF4y8Uktxl hYGpilQ4QwqzNvtmJ5Xi80ctOOeOB1JIVrdXj2PUcPSosfHYNHKrMkilsZw/gAh2oG/e+Tr9c F67zO6u1rZVsY3bkHTI83iH+ttJVxRTtsBy5ZprF8JViQo/lGtccrk2RoTR4yrSUWjgXI/q7i J765A55MmcID2GY0hT6wuQ3J2pi5Y5vkxPOFP/RJwAW1XaEnIAp9CG74PC9L+zDfswGBVEVO6 vS4/B94X1EOtgiquc3NURsPK8qh3EJrKbApDSz4la7xLkGV5leqxqYwc5zi6sreIOoYcUrBNx DyZ2pt9cNslHAvEz/rCG0DNhsq5qNhWOGWvA2H27qqDtVDHnxPz0FbewnR8Yfv1WiEcTyY1Rm 8jvOihAL4VssH6m8/PdmnCpcB/iPK52/01irtcdI85Dsr40HbahCQfrR/qUAFvBjKwj+C3I/F YCxDfMlIEHaC5ST+GSAjbGGdUaQyivsCsIM7vnxKnoTS7xfmtF9i9YvE7AaPwNRozWyqXlJBX 67/6VCIbDRoDe1B20NRvrj4UHN4khxSoUbMw/jyi6qBTOCYlwYzsBRDI/gXsy/EzEgmw3fa4d NI72bMD/mKzgaKvxCaeFKZwgrGEl/T0u0wG8qVPgRqFOBsvrIHi4pY6xaBhmcmFQqz5UZ/VpP i7spvsLqcCPedixQxysT4xoGLVfv5MGdafs+BqMtTmDDxyiQQsLU1w1SCLPeZXac+jr4ngK X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190905_062535_833309_C83E2A90 X-CRM114-Status: UNSURE ( 7.71 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [217.72.192.75 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record Subject: [OpenWrt-Devel] [PATCH 2/3] ath79: remove empty default case in 10_fix_wifi_mac X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org This removes a useless empty default case. Signed-off-by: Adrian Schmutzler --- .../ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac index 2e2179aee3..52efd8baaa 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac +++ b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac @@ -42,6 +42,4 @@ case "$board" in [ "$PHYNBR" -eq 0 ] && \ macaddr_add "$(mtd_get_mac_text mac 0x18)" 1 > /sys${DEVPATH}/macaddress ;; - *) - ;; esac From patchwork Thu Sep 5 13:25:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Schmutzler X-Patchwork-Id: 1158428 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=adrianschmutzler.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="juykVlFX"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46PLzr1KDhz9sNf for ; Thu, 5 Sep 2019 23:26:00 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=UPCtrnaLLaBhb7Cjg37Ox025bv4qsGCTAcMJv64hQDg=; b=juykVlFXLewNki/JtehMYT0Q8d mGlUC+DndKm2X69VybHR7bsCSHvfqh5pjZYeW/h0G6vsAuCOcUhz5dUJIDecdnNMaXfm6BYsYnTS8 XQbY1vYNZDQ0H53p6tmZhzB6Uk3dRXoh3FLRlugizHe6edqUahOsJWCHom/kuZOK+gm2ZfK5OZ7ju OE+eXUE/mAO6yYHB5a+HO3sFRPsKhiLbGTAGIt6HVXo+BK43X7GbTWAgLUpaD28QY9J4MXSLN8N+d 2kjkGjh+SK5mdPVd1kXvCqR+/lPj6hXx7Bj4nwL0NBs4dPxoUlrg/Fjw9zcrhrm4mDZcK08eERF17 idE0hgiQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i5rlg-0007le-FM; Thu, 05 Sep 2019 13:25:44 +0000 Received: from mout.kundenserver.de ([217.72.192.74]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i5rlV-0007aG-9M for openwrt-devel@lists.openwrt.org; Thu, 05 Sep 2019 13:25:34 +0000 Received: from buildfff.adridolf.com ([188.193.187.204]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mn2eH-1iXoGj0Swh-00k8Y4 for ; Thu, 05 Sep 2019 15:25:30 +0200 From: Adrian Schmutzler To: openwrt-devel@lists.openwrt.org Date: Thu, 5 Sep 2019 15:25:26 +0200 Message-Id: <20190905132526.2376-3-freifunk@adrianschmutzler.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190905132526.2376-1-freifunk@adrianschmutzler.de> References: <20190905132526.2376-1-freifunk@adrianschmutzler.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:zoNIPU3V1Ao+qArMCP7huaGPDPJ/i54hzHhzDAb+9Vkd52tH/yL FJXV5/SSzPXCKqnf3zYIjx3xcQ6fmJDx9ktwy4G5ek/JlO3wRi2bboQIUzf22GTNV+ZT4N+ II7IDiKxD1OScKNsFQ4ZcnDb8P7iTLeLrDVcJByfmiozyO9RZd0U8vOx7VkY13zXNyvRgc/ TBI6Z4o9gBXqdsDbaI4Cw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:maNx5+NkMLQ=:8MjE3BZXC+mJUE75/t17C0 IlASplZXscuzSltoIaHn3BoOmyiB1BFqGbWXrGJwKZkqpfQBEYPP8iTmWpWzlp5KU/VXo+jAm vp//zJVXiaPtESFg7ErXt/81w2FhY2f1fHN1ZcBg8gwiq22BTrKvGDn1mhHX9CRpr0CMlG2Yf AcX7MacxzmEzVdTJPTbead01EfpRzKGHo6vquDilehQnTtMjZA9q8fnHffHFzuJecW57lQzc+ ophAnCxFIaqRmmEYXhZMB1kI+3pRDUKT5tA3YYvpl+T7snFiln14suDaYcHZ4Axs1lM4ftoAS d4mrZ18xZFRDkjk9NfaWzNfh76jaiHr37I84G+PwqHzedYDcnHWQdkC7xLsz2lSG2gHqP3Ho8 1UCPbqEA0LM83Ky4R0ajrbzYZRfETJ3Qp4cisWJLbW4oWfkNVvITy0quLvRaYqYbremldtCD7 x4uVKDShktQVxLwdFcSaEKfcjjr1mOYbHTjGF99mM/AFB8M9QBGgxlckcooCpVuZbuxd2JuaC TlV3Di4HH1mhUjIjMuir0t6r86v1WdWa0eGC0WssFHfJihLFR8J6m5rLS/jR94cttZZrEEYSt mBKRw2uO22NjebnKg63FiDvHLKuQa8ZSu/J6ROXxpiSgRLtSVAzThVvtWFhmoCgbeh82yJnEK LJ+8GpIHfi5QrVjM+DG4Vg2KowcBcgEbmgkAF1WQYx/+GV5dRCrxFLcnhqU/kM408oxZzBTi1 Mrhnza2v0y6kw04z0RJp4IBibGexYHTROhygYdCjxnIKZpkvsmHJwGf40J2hJ5WL7cbLHsuwI 7fjy2UIMBzYbPWt0CuxhODtyZWcKJX9AkE7W4qeqqwUlg626rBuGqYdWmG1M02oU1GVIEHr X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190905_062533_619918_BFA1DE50 X-CRM114-Status: UNSURE ( 8.62 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [217.72.192.74 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record Subject: [OpenWrt-Devel] [PATCH 3/3] ath79: apply alphabetical sorting to entries in 10_fix_wifi_mac X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Signed-off-by: Adrian Schmutzler --- .../base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac index 52efd8baaa..8c8b7932bc 100644 --- a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac +++ b/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac @@ -17,16 +17,16 @@ case "$board" in adtran,bsap1840) macaddr_add "$(mtd_get_mac_binary 'Board data' 2)" $(($PHYNBR * 8 + 1)) > /sys${DEVPATH}/macaddress ;; - iodata,wn-ag300dgr) + iodata,wn-ac1600dgr) # There is no eeprom data for 5 GHz wlan in "art" partition # which would allow to patch the macaddress - [ "$PHYNBR" -eq 1 ] && \ + [ "$PHYNBR" -eq 0 ] && \ macaddr_add "$(mtd_get_mac_ascii u-boot-env ethaddr)" 1 > /sys${DEVPATH}/macaddress ;; - iodata,wn-ac1600dgr) + iodata,wn-ag300dgr) # There is no eeprom data for 5 GHz wlan in "art" partition # which would allow to patch the macaddress - [ "$PHYNBR" -eq 0 ] && \ + [ "$PHYNBR" -eq 1 ] && \ macaddr_add "$(mtd_get_mac_ascii u-boot-env ethaddr)" 1 > /sys${DEVPATH}/macaddress ;; phicomm,k2t)