Add deinit_ap driver op to help wpa_supplicant AP mode use
This commit is contained in:
parent
e882899981
commit
af47308823
4 changed files with 37 additions and 1 deletions
|
@ -449,4 +449,11 @@ static inline int wpa_drv_disable_11b_rates(struct wpa_supplicant *wpa_s,
|
|||
return -1;
|
||||
}
|
||||
|
||||
static inline int wpa_drv_deinit_ap(struct wpa_supplicant *wpa_s)
|
||||
{
|
||||
if (wpa_s->driver->deinit_ap)
|
||||
return wpa_s->driver->deinit_ap(wpa_s->drv_priv);
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* DRIVER_I_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue