Updated the download location for broadcom's file that contains firmware. Also

added an echo, to confirm the success of installing all firmwares.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36597 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matt Madia
2010-05-03 20:07:54 +00:00
parent 1edc8258ef
commit 0da448bf13
+4 -1
View File
@@ -77,6 +77,7 @@ function InstallAllFirmwares()
InstallIprowifi2200
InstallBroadcom43xx
InstallMarvell88w8335
echo "All firmwares successfully installed."
}
@@ -315,13 +316,15 @@ function CutAndInstallBroadcomFirmware()
{
# Download firmware.
local file="wl_apsta-3.130.20.0.o"
local dir="${firmwareDir}/${driver}"
local url='http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o'
DownloadFileIfNotCached $url $file $tempDir
DownloadFileIfNotCached $url $file $dir
if [ $result -gt 0 ]; then
return $result
fi
# Cut firmware in pieces.
cp "$dir/$file" "$tempDir"
cd "$tempDir"
b43-fwcutter $file > /dev/null 2>&1