]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
nl80211: Check iftype in cfg80211 code
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 20 Mar 2009 19:21:19 +0000 (21:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:05 +0000 (20:13 -0400)
commiteec60b037a875513d9715dcdb90b13ed81fc5f26
treeb031d92f7613f2c043c151f102307ec3351843c1
parent35a8efe1a67ba5d7bb7492f67f52ed2aa4925892
nl80211: Check iftype in cfg80211 code

We do not want to require all the drivers using cfg80211 to need to do
this. In addition, make the error values consistent by using
EOPNOTSUPP instead of semi-random assortment of errno values.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
net/wireless/nl80211.c