cfg80211: disallow configuring unsupported interfaces
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 7 Jul 2009 01:56:13 +0000 (03:56 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:02:33 +0000 (15:02 -0400)
commit0b20633d966eb08506f8796544aef7a9ab5f3544
treebf8a3ee2ae12c71c8e43601d35b04bbea3aaad92
parent79c97e97aed7f760d2826c7daf2d42d8eefe9838
cfg80211: disallow configuring unsupported interfaces

In order to force drivers to advertise their interface
types, don't just disallow creating new interfaces with
unadvertised types but also disallow setting them UP.
Additionally, add some validation on the operations the
drivers support.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/core.c