nl80211: Require auth type for NL80211_CMD_AUTHENTICATE
authorJouni Malinen <j@w1.fi>
Fri, 27 Mar 2009 18:52:47 +0000 (20:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:28 +0000 (16:54 -0400)
commit1778092e1739155acec35a3bccee2fb8a1ae4e91
tree6b88397852016dd6e082f7980f8da90ecb36f3c6
parentc0ed418977edf60f1df9933e1ccd48920a28eb66
nl80211: Require auth type for NL80211_CMD_AUTHENTICATE

NL80211_ATTR_AUTH_TYPE is a required parameter for
NL80211_CMD_AUTHENTICATE. We are currently (by chance) defaulting to
open system authentication if the attribute is not specified. It is
better to just reject the invalid command.

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c