Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 2013 03:39:28 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254206 - head/sys/dev/iwn
Message-ID:  <201308110339.r7B3dSfT030929@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sun Aug 11 03:39:28 2013
New Revision: 254206
URL: http://svnweb.freebsd.org/changeset/base/254206

Log:
  Use the correct structure size when flipping the BT coex state machine.
  
  This showed up when doing some basic testing on the Intel 6230.
  
  Tested:
  
  * Intel 6230, STA mode

Modified:
  head/sys/dev/iwn/if_iwn.c

Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c	Sun Aug 11 02:53:18 2013	(r254205)
+++ head/sys/dev/iwn/if_iwn.c	Sun Aug 11 03:39:28 2013	(r254206)
@@ -5372,7 +5372,7 @@ iwn_send_advanced_btcoex(struct iwn_soft
 		return error;
 
 	/* Force BT state machine change. */
-	memset(&btprot, 0, sizeof btprio);
+	memset(&btprot, 0, sizeof btprot);
 	btprot.open = 1;
 	btprot.type = 1;
 	error = iwn_cmd(sc, IWN_CMD_BT_COEX_PROT, &btprot, sizeof(btprot), 1);



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