nl80211: Remove redundant assignment of ifindex
wpa_driver_nl80211_finish_drv_init() takes care of assigning the interface index. Signed-hostap: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
This commit is contained in:
parent
4ed8d954dd
commit
ed07764699
1 changed files with 0 additions and 1 deletions
|
@ -1052,7 +1052,6 @@ static int wpa_driver_nl80211_own_ifindex(struct wpa_driver_nl80211_data *drv,
|
|||
return 1;
|
||||
|
||||
if (drv->if_removed && wpa_driver_nl80211_own_ifname(drv, buf, len)) {
|
||||
drv->first_bss.ifindex = if_nametoindex(drv->first_bss.ifname);
|
||||
wpa_printf(MSG_DEBUG, "nl80211: Update ifindex for a removed "
|
||||
"interface");
|
||||
wpa_driver_nl80211_finish_drv_init(drv);
|
||||
|
|
Loading…
Reference in a new issue