Skip to content
Commit 6b348f6e authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: mac80211: ethtool: always hold wiphy mutex



Drivers should really be able to rely on the wiphy mutex
being held all the time, unless otherwise documented. For
ethtool, that wasn't quite right. Fix and clarify this in
both code and documentation.

Reported-by: default avatar <syzbot+c12a771b218dcbba32e1@syzkaller.appspotmail.com>
Fixes: 0e8185ce

 ("wifi: mac80211: check wiphy mutex in ops")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 5b43bd71
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment