]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/wireless/libertas/wext.c
[PATCH] libertas: fix 'keep previous scan' behavior
[karo-tx-linux.git] / drivers / net / wireless / libertas / wext.c
index 4759aa2bba5df535978f8b55d4d4358c4b704ec0..518371a76c3650dfb939b1109dedfb9c0f35ff33 100644 (file)
@@ -234,7 +234,7 @@ static int changeadhocchannel(wlan_private * priv, int channel)
        /* Scan for the network, do not save previous results.  Stale
         *   scan data will cause us to join a non-existant adhoc network
         */
-       libertas_send_specific_SSID_scan(priv, &curadhocssid, 0);
+       libertas_send_specific_SSID_scan(priv, &curadhocssid, 1);
 
        /* find out the BSSID that matches the current SSID */
        join_bss = libertas_find_SSID_in_list(adapter, &curadhocssid, NULL,