Bug#579633: firmware-b43legacy-installer.postins problem
Package: firmware-b43legacy-installer
Version: 4.178.10.4-3
Severity: important
if if statement in firmware-b43legacy-installer.postins where the list
of supported cards is checked is wrong.
if [ -n "$pci" ]; then
if [ "`echo $pci | cut -d: -f2`" != "4301" ] || \
[ "`echo $pci | cut -d: -f2`" != "4306" ] || \
[ "`echo $pci | cut -d: -f2`" != "4320" ]; then
echo "Not supported card here (PCI id $pci)!"
echo "Use b43 firmware. This is just for the b43legacy driver."
echo "Aborting."
exit 1
fi
fi
The OR statement in the if should be AND. Otherwise the firmware for 4306 and 4320 cased cards will not be expanded. The corrected code should be:
if [ -n "$pci" ]; then
if [ "`echo $pci | cut -d: -f2`" != "4301" ] && \
[ "`echo $pci | cut -d: -f2`" != "4306" ] && \
[ "`echo $pci | cut -d: -f2`" != "4320" ]; then
echo "Not supported card here (PCI id $pci)!"
echo "Use b43 firmware. This is just for the b43legacy driver."
echo "Aborting."
exit 1
fi
fi
evgeni
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.32-3-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages firmware-b43legacy-installer depends on:
ii b43-fwcutter 1:013-1 Utility for extracting Broadcom 43
ii wget 1.12-2 retrieves files from the web
Versions of packages firmware-b43legacy-installer recommends:
ii linux-image-2.6.30-2-powerpc 2.6.30-8 Linux 2.6.30 image on uniprocessor
ii linux-image-2.6.32-2-powerpc 2.6.32-8 Linux 2.6.32 for uniprocessor 32-b
ii linux-image-2.6.32-3-powerpc 2.6.32-9 Linux 2.6.32 for uniprocessor 32-b
ii linux-image-2.6.32-trunk-powe 2.6.32-5 Linux 2.6.32 for uniprocessor 32-b
firmware-b43legacy-installer suggests no packages.
-- no debconf information
Reply to: