From: Luis R. Rodriguez Date: Mon, 4 Jan 2010 16:37:39 +0000 (-0500) Subject: cfg80211: fix syntax error on user regulatory hints X-Git-Tag: MMI-PSA29.97-13-9~24911^2~1^2~39 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e12822e1d3fface0d9e1095c5177e10141bd6bd6;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: John W. Linville --- diff --git a/net/wireless/reg.c b/net/wireless/reg.c index baa898add287..7a0754c92df4 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);