summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2010-01-04 11:37:39 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-01-04 16:12:00 -0500
commite12822e1d3fface0d9e1095c5177e10141bd6bd6 (patch)
tree1be66e78c512135aa525b3dacc9d31f193b246f5 /net
parent359207c687cc8f4f9845c8dadd0d6dabad44e584 (diff)
downloadop-kernel-dev-e12822e1d3fface0d9e1095c5177e10141bd6bd6.zip
op-kernel-dev-e12822e1d3fface0d9e1095c5177e10141bd6bd6.tar.gz
cfg80211: fix syntax error on user regulatory hints
This fixes a syntax error when setting up the user regulatory hint. This change yields the same exact binary object though so it ends up just being a syntax typo fix, fortunately. Cc: stable@kernel.org Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r--net/wireless/reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index baa898a..7a0754c 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -1690,7 +1690,7 @@ int regulatory_hint_user(const char *alpha2)
request->wiphy_idx = WIPHY_IDX_STALE;
request->alpha2[0] = alpha2[0];
request->alpha2[1] = alpha2[1];
- request->initiator = NL80211_REGDOM_SET_BY_USER,
+ request->initiator = NL80211_REGDOM_SET_BY_USER;
queue_regulatory_request(request);
OpenPOWER on IntegriCloud