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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to