commit | 1325ba7ea6dd1bf981a55521da5debf7086dad8e | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Mon Jun 26 13:43:31 2023 +0800 |
committer | developer <developer@mediatek.com> | Tue Jun 27 14:18:34 2023 +0800 |
tree | e996727b6ee56bf033d223adf89c3ba8566fd113 | |
parent | 627f1833bf8a1c509ba14de577f90a2f5ddadc86 [diff] [blame] |
[][MAC80211][misc][Fix condiction of check default bin] [Description] Fix condiction of check default bin. [Release-log] N/A Change-Id: Ia1071aeac8590d80d305389af32ca41fe9b1a90c Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7663918
diff --git a/autobuild_mac80211_release/0001-master-mac80211-generate-hostapd-setting-from-ap-cap.patch b/autobuild_mac80211_release/0001-master-mac80211-generate-hostapd-setting-from-ap-cap.patch index 0ce1fc6..3960f4e 100644 --- a/autobuild_mac80211_release/0001-master-mac80211-generate-hostapd-setting-from-ap-cap.patch +++ b/autobuild_mac80211_release/0001-master-mac80211-generate-hostapd-setting-from-ap-cap.patch
@@ -441,7 +441,7 @@ ret="$?" [ "$ret" != 0 -o -z "$hostapd_res" ] && { diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/package/kernel/mac80211/files/lib/wifi/mac80211.sh -index e24a2a634e..c8965d79cb 100644 +index e24a2a634e..e9a159427a 100644 --- a/package/kernel/mac80211/files/lib/wifi/mac80211.sh +++ b/package/kernel/mac80211/files/lib/wifi/mac80211.sh @@ -60,6 +60,9 @@ BEGIN { @@ -528,7 +528,7 @@ ;; esac -+ if [ $(dmesg | grep -q "eeprom load failed") ]; then ++ if (dmesg | grep -q "eeprom load fail"); then + macaddr="" + for i in $(seq 2 3); do + macaddr=${macaddr}:$(echo $rand | cut -d ' ' -f $i)