[net80211] Don't call ic_updateslot if it's not set.

Turns out this isn't a required call. I didn't pick it up because my
uncommitted changes involve new updateslot methods for cards I'm working
on.

Dunce hat to: adrian
This commit is contained in:
Adrian Chadd 2020-06-05 14:17:19 +00:00
parent 7de010f2ee
commit c3739eb66f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=361834

View File

@ -864,7 +864,8 @@ vap_update_slot(void *arg, int npending)
/*
* Call the driver with our new global slot time flags.
*/
ic->ic_updateslot(ic);
if (ic->ic_updateslot != NULL)
ic->ic_updateslot(ic);
}
/*