]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit11d253494b1e54f675a76e646d713b34ecc23dea
tree39f82d266bb6b6c13f059dbabc46c1621601a542
parentfdbd0148ee071ba557d16ae6a85e481de76a2a8d
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