dbus: Removed unused local variable
Signed-off-by: Grant Erickson <marathon96@gmail.com>
This commit is contained in:
parent
2683690d91
commit
80267c9cec
1 changed files with 0 additions and 8 deletions
|
@ -1462,7 +1462,6 @@ void wpas_dbus_signal_p2p_wps_failed(struct wpa_supplicant *wpa_s,
|
||||||
void wpas_dbus_signal_prop_changed(struct wpa_supplicant *wpa_s,
|
void wpas_dbus_signal_prop_changed(struct wpa_supplicant *wpa_s,
|
||||||
enum wpas_dbus_prop property)
|
enum wpas_dbus_prop property)
|
||||||
{
|
{
|
||||||
WPADBusPropertyAccessor getter;
|
|
||||||
char *prop;
|
char *prop;
|
||||||
|
|
||||||
if (wpa_s->dbus_new_path == NULL)
|
if (wpa_s->dbus_new_path == NULL)
|
||||||
|
@ -1470,31 +1469,24 @@ void wpas_dbus_signal_prop_changed(struct wpa_supplicant *wpa_s,
|
||||||
|
|
||||||
switch (property) {
|
switch (property) {
|
||||||
case WPAS_DBUS_PROP_AP_SCAN:
|
case WPAS_DBUS_PROP_AP_SCAN:
|
||||||
getter = wpas_dbus_getter_ap_scan;
|
|
||||||
prop = "ApScan";
|
prop = "ApScan";
|
||||||
break;
|
break;
|
||||||
case WPAS_DBUS_PROP_SCANNING:
|
case WPAS_DBUS_PROP_SCANNING:
|
||||||
getter = wpas_dbus_getter_scanning;
|
|
||||||
prop = "Scanning";
|
prop = "Scanning";
|
||||||
break;
|
break;
|
||||||
case WPAS_DBUS_PROP_STATE:
|
case WPAS_DBUS_PROP_STATE:
|
||||||
getter = wpas_dbus_getter_state;
|
|
||||||
prop = "State";
|
prop = "State";
|
||||||
break;
|
break;
|
||||||
case WPAS_DBUS_PROP_CURRENT_BSS:
|
case WPAS_DBUS_PROP_CURRENT_BSS:
|
||||||
getter = wpas_dbus_getter_current_bss;
|
|
||||||
prop = "CurrentBSS";
|
prop = "CurrentBSS";
|
||||||
break;
|
break;
|
||||||
case WPAS_DBUS_PROP_CURRENT_NETWORK:
|
case WPAS_DBUS_PROP_CURRENT_NETWORK:
|
||||||
getter = wpas_dbus_getter_current_network;
|
|
||||||
prop = "CurrentNetwork";
|
prop = "CurrentNetwork";
|
||||||
break;
|
break;
|
||||||
case WPAS_DBUS_PROP_BSSS:
|
case WPAS_DBUS_PROP_BSSS:
|
||||||
getter = wpas_dbus_getter_bsss;
|
|
||||||
prop = "BSSs";
|
prop = "BSSs";
|
||||||
break;
|
break;
|
||||||
case WPAS_DBUS_PROP_CURRENT_AUTH_MODE:
|
case WPAS_DBUS_PROP_CURRENT_AUTH_MODE:
|
||||||
getter = wpas_dbus_getter_current_auth_mode;
|
|
||||||
prop = "CurrentAuthMode";
|
prop = "CurrentAuthMode";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue