diff options
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/rx.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/rx.c b/drivers/net/wireless/iwmc3200wifi/rx.c index c02fcedea9fa..a944893ae3ca 100644 --- a/drivers/net/wireless/iwmc3200wifi/rx.c +++ b/drivers/net/wireless/iwmc3200wifi/rx.c | |||
@@ -1195,11 +1195,8 @@ static int iwm_ntf_wifi_if_wrapper(struct iwm_priv *iwm, u8 *buf, | |||
1195 | IWM_DBG_NTF(iwm, DBG, "WIFI_IF_WRAPPER cmd is delivered to UMAC: " | 1195 | IWM_DBG_NTF(iwm, DBG, "WIFI_IF_WRAPPER cmd is delivered to UMAC: " |
1196 | "oid is 0x%x\n", hdr->oid); | 1196 | "oid is 0x%x\n", hdr->oid); |
1197 | 1197 | ||
1198 | if (hdr->oid <= WIFI_IF_NTFY_MAX) { | 1198 | set_bit(hdr->oid, &iwm->wifi_ntfy[0]); |
1199 | set_bit(hdr->oid, &iwm->wifi_ntfy[0]); | 1199 | wake_up_interruptible(&iwm->wifi_ntfy_queue); |
1200 | wake_up_interruptible(&iwm->wifi_ntfy_queue); | ||
1201 | } else | ||
1202 | return -EINVAL; | ||
1203 | 1200 | ||
1204 | switch (hdr->oid) { | 1201 | switch (hdr->oid) { |
1205 | case UMAC_WIFI_IF_CMD_SET_PROFILE: | 1202 | case UMAC_WIFI_IF_CMD_SET_PROFILE: |