Skip to content

Commit db32852

Browse files
committed
RPi: Fix r8188eu wifi detection problem
1 parent 0bf3e93 commit db32852

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

piratebox/piratebox/rpi/bin/wifi_detect.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fi
5454
DRIVER_NAME=$( ls -1 /sys/class/net/"${WIFI_DEVICE}"/device/driver/module/drivers/ )
5555

5656
# Check for r8188eu enabled device
57-
if echo "$DRIVER_NAME" | grep -q "r8188eu:"; then
57+
if echo "$DRIVER_NAME" | grep -q "r8188eu"; then
5858
echo "Found r8188eu enabled device..."
5959
pacman --noconfirm -U --needed "${PACKAGE_PATH}/hostapd-8188eu-"* > /dev/null
6060
sed -i 's/^driver=nl80211/#driver=nl80211/' "${CONFIG_PATH}"

0 commit comments

Comments
 (0)