cfg80211: do not pass -EALREADY to userspace on regdomain change request
commitd81c2d9c909e95ee8a5745da95bbb35f8ded3d17
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 26 Jan 2009 17:00:51 +0000 (26 09:00 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:50 +0000 (29 16:01 -0500)
tree6f379f98f15090fd1b0eb41590f296f784761b83
parentb51bb3cd6c8078b8b8cc1d1725b100267eaa726e
cfg80211: do not pass -EALREADY to userspace on regdomain change request

If the regulatory domain is already set it is technically not an error
so do not pass an errno to userspace.

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