From 3c705328961e226d37a9a5b8275fec146d490a10 Mon Sep 17 00:00:00 2001 From: "Thomas Lucke (Lucky)" Date: Mon, 27 Jun 2011 14:48:17 +0200 Subject: BSSID: fix AP variable and set it to lowercase (FS#24806) --- src/8021x | 2 +- src/connections/wireless | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/8021x b/src/8021x index b37b663..8896c3e 100644 --- a/src/8021x +++ b/src/8021x @@ -187,7 +187,7 @@ make_wpa_config() { wep|wep-old|wpa|none|none-old) echo "ssid=\"$ESSID\"" if [[ -n "$AP" ]]; then - echo "bssid=$AP" + echo "bssid=${AP,,}" fi [[ -n "$ADHOC" ]] && echo "mode=1" ;; diff --git a/src/connections/wireless b/src/connections/wireless index 7bb35ea..09017e7 100644 --- a/src/connections/wireless +++ b/src/connections/wireless @@ -42,7 +42,7 @@ wireless_up() { report_debug wireless_up scanning local OLDESSID="$ESSID" if [[ -n "$AP" ]]; then - ESSID=$(wpa_find_ap "$INTERFACE" "$AP") + BSSID=$(wpa_find_ap "$INTERFACE" "$AP") else ESSID=$(wpa_find_essid "$INTERFACE" "$ESSID") fi -- cgit v1.2.3-24-g4f1b