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: firefly_0821_release~11625^2~344 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=724ad42667b42b363bbef867d1c31850b599fecc;p=firefly-linux-kernel-4.4.55.git cfg80211: fix syntax error on user regulatory hints commit e12822e1d3fface0d9e1095c5177e10141bd6bd6 upstream. 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. Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman --- diff --git a/net/wireless/reg.c b/net/wireless/reg.c index f256dfffbf46..efd24a7aa8f0 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -1714,7 +1714,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);