]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
net80211: restore interface state check for IEEE80211_IOC_SCAN_REQ ioctl.
authoravos <avos@FreeBSD.org>
Thu, 19 May 2016 22:02:03 +0000 (22:02 +0000)
committeravos <avos@FreeBSD.org>
Thu, 19 May 2016 22:02:03 +0000 (22:02 +0000)
commita9bd4b97f0e48a252c17cec4902ea577b08ce35e
tree02b399f0183508b6de0280e43b0d5294440238ac
parent70ff509d20229b79d2285c7422742fa8f0c65d6e
net80211: restore interface state check for IEEE80211_IOC_SCAN_REQ ioctl.

Do not try to start a scan when interface is not running.

How-to-reproduce:
1) ifconfig wlan0 create wlandev urtwn0
2) wlandebug -i wlan0 state
3) ifconfig wlan0 scan
sys/net80211/ieee80211_ioctl.c