]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d2e825c90af1c8a2ac7218949b641d2606d4508
tree8cda1c7f894bfedecf06fd42621248dad9dbf45d
parenta5282238cd20397f2d8b71cbaf1c2e707892636a
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