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
This commit is contained in:
Adrian Chadd 2013-08-11 03:39:28 +00:00
parent da8848ffb4
commit 899de76d2d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254206

View File

@ -5372,7 +5372,7 @@ iwn_send_advanced_btcoex(struct iwn_softc *sc)
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);