projects
/
libeap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Silenced some of the driver-related messages for driver=none case
[libeap.git]
/
hostapd
/
driver.h
diff --git
a/hostapd/driver.h
b/hostapd/driver.h
index
6746c8c
..
c7c9052
100644
(file)
--- a/
hostapd/driver.h
+++ b/
hostapd/driver.h
@@
-766,4
+766,10
@@
hostapd_set_ht_operation(const char *ifname, struct hostapd_data *hapd,
}
#endif /* CONFIG_IEEE80211N */
+static inline int
+hostapd_drv_none(struct hostapd_data *hapd)
+{
+ return hapd->driver && os_strcmp(hapd->driver->name, "none") == 0;
+}
+
#endif /* DRIVER_H */