~indicator-network-developers/wpasupplicant/07-series.packaging

« back to all changes in this revision

Viewing changes to wpa_supplicant/dbus/dbus_old_handlers.c

  • Committer: Kalle Valo
  • Date: 2010-10-21 11:42:38 UTC
  • mfrom: (1950.1.51)
  • Revision ID: kalle.valo@canonical.com-20101021114238-ere89p31hxmjh6i5
MergeĀ 07-series.

Show diffs side-by-side

added added

removed removed

Lines of Context:
872
872
        }
873
873
 
874
874
        if (ssid == wpa_s->current_ssid)
875
 
                wpa_supplicant_disassociate(wpa_s, WLAN_REASON_DEAUTH_LEAVING);
 
875
                wpa_supplicant_deauthenticate(wpa_s,
 
876
                                              WLAN_REASON_DEAUTH_LEAVING);
876
877
        reply = wpas_dbus_new_success_reply(message);
877
878
 
878
879
out:
1141
1142
                                         struct wpa_supplicant *wpa_s)
1142
1143
{
1143
1144
        wpa_s->disconnected = 1;
1144
 
        wpa_supplicant_disassociate(wpa_s, WLAN_REASON_DEAUTH_LEAVING);
 
1145
        wpa_supplicant_deauthenticate(wpa_s, WLAN_REASON_DEAUTH_LEAVING);
1145
1146
 
1146
1147
        return wpas_dbus_new_success_reply(message);
1147
1148
}