diff options
author | adrian <adrian@FreeBSD.org> | 2013-08-11 03:39:28 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-08-11 03:39:28 +0000 |
commit | 11af802221432d5858753e8bc86e86d3231c7029 (patch) | |
tree | 51304aaa4b124931efa246ed4b8ead68903edd3a | |
parent | a88aeba0b02d1b6c21868d625dc971587bf385bb (diff) | |
download | FreeBSD-src-11af802221432d5858753e8bc86e86d3231c7029.zip FreeBSD-src-11af802221432d5858753e8bc86e86d3231c7029.tar.gz |
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
-rw-r--r-- | sys/dev/iwn/if_iwn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c index 67ec186..a3efc32 100644 --- a/sys/dev/iwn/if_iwn.c +++ b/sys/dev/iwn/if_iwn.c @@ -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); |