]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: silently accept deletion of non-existant key
authorJohn W. Linville <linville@linville-t41.local>
Tue, 25 Mar 2008 15:43:15 +0000 (11:43 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Mar 2008 19:51:20 +0000 (15:51 -0400)
commite77829601d5b26e7bc55b0f547a533a3065c7e2b
tree97a8ff4237b9adc6b2ed88cdad761d43c5a28dcd
parentd5f0efeba3561bbace16e9c8ce20270a84b85c82
mac80211: silently accept deletion of non-existant key

Otherwise, 'iwconfig wlan0 key off' with no key set results in:

Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; No such file or directory.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_ioctl.c