cfg80211: mark regdomains with > NL80211_MAX_SUPP_REG_RULES invalid
commit88dc1c3f7f9058cd5ceae1e4b53453484c7b0364
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 12 Nov 2008 22:22:01 +0000 (12 14:22 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Nov 2008 21:41:25 +0000 (25 16:41 -0500)
tree47a2cf73d22d4d49e8c388f267f307221cf2d2b2
parent02ba0b3263f4eb41d2a5714cbe99207ae491a964
cfg80211: mark regdomains with > NL80211_MAX_SUPP_REG_RULES invalid

Lets remain consistent and mark rds with > NL80211_MAX_SUPP_REG_RULES
number of reg rules as invalid in is_valid_rd().

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/reg.c