diff mbox

rtl8192cu regulatory domain

Message ID CAMfPB_zT33JxJ+OYpgc3nySfBX29Eg66_YwMt7EZM1onymXOLQ@mail.gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Alessandro Lannocca May 8, 2014, 8:35 a.m. UTC
Hello everyone, I'm using backports20140417 on fedora 20 running
kernel 3.14; I have an rtl8192cu-based wifi card (AWUS036NHR) I bought
from amazon italy; I usually had to 'pimp' the CH1_11 rule definition
in regd.c to be able to use channels 12-13 here in italy, however this
morning i stumbled accross this patch:

Signed-off-by John Williams <john@xxxxxxxxxxxxx>


--

I just dropped by to say that it works and I'm no more stuck into
channels 1-11 nor into hacky-whacky ugly workarounds; maybe this patch
could be pushed into production.


Credits: I found this patch in a ml message by Mr. John Williams dated
Mon, 5 Mar 2012 21:39:56 +0000

Thank you all for your work :)

Alessandro Lannocca
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- linux-3.2/drivers/net/wireless/rtlwifi/regd.c.orig
+++ linux-3.2/drivers/net/wireless/rtlwifi/regd.c
@@ -405,7 +405,7 @@ 
  return -EINVAL;

  /* init country_code from efuse channel plan */
- rtlpriv->regd.country_code = rtlpriv->efuse.channel_plan;
+ rtlpriv->regd.country_code = rtlpriv->efuse.eeprom_channelplan;

  RT_TRACE(rtlpriv, COMP_REGD, DBG_TRACE,
  (KERN_DEBUG "rtl: EEPROM regdomain: 0x%0x\n",