svn commit: r318215 - head/sys/dev/iwm
Adrian Chadd
adrian at FreeBSD.org
Fri May 12 05:22:31 UTC 2017
Author: adrian
Date: Fri May 12 05:22:29 2017
New Revision: 318215
URL: https://svnweb.freebsd.org/changeset/base/318215
Log:
[iwm] change the check for ADD_STA status, use IWM_ADD_STA_STATUS_MASK.
Obtained from: dragonflybsd.git 74d41163ddac72b0d7ea7b7873d53fe134723a12
Modified:
head/sys/dev/iwm/if_iwm.c
Modified: head/sys/dev/iwm/if_iwm.c
==============================================================================
--- head/sys/dev/iwm/if_iwm.c Fri May 12 05:21:50 2017 (r318214)
+++ head/sys/dev/iwm/if_iwm.c Fri May 12 05:22:29 2017 (r318215)
@@ -3925,7 +3925,7 @@ iwm_mvm_sta_send_to_fw(struct iwm_softc
if (ret)
return ret;
- switch (status) {
+ switch (status & IWM_ADD_STA_STATUS_MASK) {
case IWM_ADD_STA_SUCCESS:
break;
default:
@@ -3971,7 +3971,7 @@ iwm_mvm_add_int_sta_common(struct iwm_so
if (ret)
return ret;
- switch (status) {
+ switch (status & IWM_ADD_STA_STATUS_MASK) {
case IWM_ADD_STA_SUCCESS:
IWM_DPRINTF(sc, IWM_DEBUG_RESET,
"%s: Internal station added.\n", __func__);
More information about the svn-src-head
mailing list