[][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)