mac80211: verify IBSS in interface combinations
authorJohannes Berg <johannes.berg@intel.com>
Fri, 13 May 2011 23:55:23 +0000 (01:55 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 May 2011 18:25:28 +0000 (14:25 -0400)
commit8e621fc90b42fa2ca4ff65dd8d9cb21723e47837
tree39f82d266bb6b6c13f059dbabc46c1621601a542
parentdf64962f7d74877624442c059e7878fdf7ec3c22
mac80211: verify IBSS in interface combinations

Drivers shouldn't attempt to advertise support
for more than one IBSS interface since mac80211
doesn't support that. Check and return an error
from ieee80211_register_hw() in that case.

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