diff --git a/inxi b/inxi index a82b50e..189af7e 100755 --- a/inxi +++ b/inxi @@ -462,7 +462,7 @@ BAN_LIST_CPU='' ### USB networking search string data, because some brands can have other products than ### wifi/nic cards, they need further identifiers, with wildcards. -USB_NETWORK_SEARCH="Atmel Davicom Linksys Netgear Realtek.*Network Realtek.*Wireless Realtek.*WLAN" +USB_NETWORK_SEARCH="Atmel CanoScan Davicom Linksys Netgear Realtek.*Network Realtek.*Wireless Realtek.*WLAN" # WARNING: In the main part below (search for 'KONVI') # there's a check for Konversation-specific config files. @@ -3327,14 +3327,15 @@ get_networking_data() print string ",,,,usb-" $6 } }' <<< "$card_data" ) - -# if [[ -n $array_string ]];then -# array_count=${#A_AUDIO_DATA[@]} -# A_NETWORK_DATA[$array_count]="$array_string" -# fi + IFS=$'\n' + if [[ -n $array_string ]];then + array_count=${#A_AUDIO_DATA[@]} + A_NETWORK_DATA[$array_count]="$array_string" + fi + IFS="$ORIGINAL_IFS" fi fi - + if [[ $B_SHOW_ADVANCED_NETWORK == 'true' ]];then get_network_advanced_data fi