[wfb] atheros init fix (#654)

pull/655/head
cronyx 2023-03-02 23:32:21 +03:00 committed by GitHub
parent d4e4ec3388
commit 3301322b40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ load_interface() {
if [ ${driver} = "realtek" ]; then
ifconfig ${wlan} up
iwconfig ${wlan} mode monitor
elif [ ${driver} = "atheros" ] | [ ${driver} = "ralink" ]; then
elif [ ${driver} = "atheros" ] || [ ${driver} = "ralink" ]; then
iwconfig ${wlan} mode monitor
ifconfig ${wlan} up
fi