HomeFreeBSD

net80211: remove redundant locking.

Description

net80211: remove redundant locking.

All callers of ieee80211_promisc()/ieee80211_allmulti()
(ieee80211_vap_detach(), ieee80211_ioctl(), ap_start() and ap_end())
already hold the com_lock while calling them.

Tested with RTL8188EU, STA mode.

Approved by: adrian (mentor)
Differential Revision: https://reviews.freebsd.org/D5475

Details

Provenance
avosAuthored on
Differential Revision
D5475: net80211: remove redundant locking
Parents
rS296169: net80211: fix 'taskqueue_drain with non-sleepable locks held' warning
Branches
Unknown
Tags
Unknown