Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2019 01:54:29 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r344744 - head/sys/dev/rtwn/rtl8192c
Message-ID:  <201903040154.x241sTpj027998@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avos
Date: Mon Mar  4 01:54:28 2019
New Revision: 344744
URL: https://svnweb.freebsd.org/changeset/base/344744

Log:
  rtwn_usb(4): fix LED blinking for RTL8192CU during scanning
  
  Tested with RTL8188CUS, STA mode.
  
  MFC after:	5 days

Modified:
  head/sys/dev/rtwn/rtl8192c/r92c_init.c

Modified: head/sys/dev/rtwn/rtl8192c/r92c_init.c
==============================================================================
--- head/sys/dev/rtwn/rtl8192c/r92c_init.c	Mon Mar  4 00:49:07 2019	(r344743)
+++ head/sys/dev/rtwn/rtl8192c/r92c_init.c	Mon Mar  4 01:54:28 2019	(r344744)
@@ -322,6 +322,7 @@ r92c_init_antsel(struct rtwn_softc *sc)
 	rtwn_bb_setbits(sc, R92C_FPGA0_RFPARAM(0), 0, 0x2000);
 	reg = rtwn_bb_read(sc, R92C_FPGA0_RFIFACEOE(0));
 	sc->sc_ant = MS(reg, R92C_FPGA0_RFIFACEOE0_ANT);	/* XXX */
+	rtwn_setbits_1(sc, R92C_LEDCFG2, 0x80, 0);
 }
 
 void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903040154.x241sTpj027998>