]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
net80211: remove redundant locking.
authorAndriy Voskoboinyk <avos@FreeBSD.org>
Sun, 28 Feb 2016 23:48:34 +0000 (23:48 +0000)
committerAndriy Voskoboinyk <avos@FreeBSD.org>
Sun, 28 Feb 2016 23:48:34 +0000 (23:48 +0000)
commitc6427be92b44fd1729633ad59e5cf49dafbb80fc
tree00f655c24b6007e3d20117d779482be37163bd0e
parent60d75eb64c555367a7529ca977c9e443dd91a6b9
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
sys/net80211/ieee80211.c