diff options
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r-- | wpa_supplicant/driver_i.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h index 108599f..b9ea291 100644 --- a/wpa_supplicant/driver_i.h +++ b/wpa_supplicant/driver_i.h @@ -2,14 +2,8 @@ * wpa_supplicant - Internal driver interface wrappers * Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi> * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * Alternatively, this software may be distributed under the terms of BSD - * license. - * - * See README and COPYING for more details. + * This software may be distributed under the terms of the BSD license. + * See README for more details. */ #ifndef DRIVER_I_H @@ -674,12 +668,12 @@ static inline void wpa_drv_set_rekey_info(struct wpa_supplicant *wpa_s, } #ifdef ANDROID_P2P -static inline int wpa_drv_go_switch_channel(struct wpa_supplicant *wpa_s, +static inline int wpa_drv_switch_channel(struct wpa_supplicant *wpa_s, int freq) { - if (!wpa_s->driver->go_switch_channel) + if (!wpa_s->driver->switch_channel) return -1; - return wpa_s->driver->go_switch_channel(wpa_s->drv_priv, freq); + return wpa_s->driver->switch_channel(wpa_s->drv_priv, freq); } #endif #endif /* DRIVER_I_H */ |