mac80211: fix cfg80211 hooks for master interface
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 29 Jul 2008 11:22:52 +0000 (13:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 29 Jul 2008 20:55:08 +0000 (16:55 -0400)
commit14db74bcc3f7a779cf395a47e26b06a28207571a
tree8cda1c7f894bfedecf06fd42621248dad9dbf45d
parentbba95fefb8e31f4799652666d05a4a9aad56e492
mac80211: fix cfg80211 hooks for master interface

The master interface is a virtual interface that is registered
to mac80211, changing that does not seem like a good idea at
the moment. However, since it has no sdata, we cannot accept
any configuration for it. This patch makes the cfg80211 hooks
reject any such attempt.

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