cfg80211: ignore consecutive equal regulatory hints
commite74b1e7fb2f12db36f25af2158ee6e2940e4f138
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 22 Jan 2009 23:05:48 +0000 (22 15:05 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:15 +0000 (29 16:01 -0500)
treee448c3290ec8d11fcba1cb67680752e9d17b579b
parent5eebade608d695e30e89d4c5ca6136a58f24ed14
cfg80211: ignore consecutive equal regulatory hints

We ignore regulatory hints for the same alpha2 if we already
have processed the same alpha2 on the current regulatory domain.
For a driver regulatory_hint() this means we copy onto its
wiphy->regd the previously procesed regulatory domain from CRDA
without having to call CRDA again.

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