aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorPrameela Rani Garnepudi <prameela.g@samsung.com>2014-03-18 12:05:22 (GMT)
committerJouni Malinen <j@w1.fi>2014-03-21 20:20:38 (GMT)
commit95bf699f76955d2bccf41390aa0364eb76216722 (patch)
tree3d6479c8c7395852116f1b433830774c46c42129 /wpa_supplicant/driver_i.h
parentd06ecab34482ccf88263c82d91a28cf50befa4c4 (diff)
downloadhostap-95bf699f76955d2bccf41390aa0364eb76216722.zip
hostap-95bf699f76955d2bccf41390aa0364eb76216722.tar.gz
hostap-95bf699f76955d2bccf41390aa0364eb76216722.tar.bz2
Add get_radio_name() driver wrapper for wpa_supplicant
Signed-off-by: Prameela Rani Garnepudi <prameela.g@samsung.com>
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index b336afb..bbcd662 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -206,6 +206,14 @@ static inline const char * wpa_drv_get_ifname(struct wpa_supplicant *wpa_s)
return NULL;
}
+static inline const char *
+wpa_driver_get_radio_name(struct wpa_supplicant *wpa_s)
+{
+ if (wpa_s->driver->get_radio_name)
+ return wpa_s->driver->get_radio_name(wpa_s->drv_priv);
+ return NULL;
+}
+
static inline const u8 * wpa_drv_get_mac_addr(struct wpa_supplicant *wpa_s)
{
if (wpa_s->driver->get_mac_addr) {