Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'master' of git://git.infradead.org/users/linville/wireless

Conflicts:
drivers/net/wireless/iwlwifi/iwl-scan.c
net/wireless/nl80211.c

+29 -15
+1 -1
drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
··· 1514 1514 {0x00008258, 0x00000000}, 1515 1515 {0x0000825c, 0x40000000}, 1516 1516 {0x00008260, 0x00080922}, 1517 - {0x00008264, 0x9bc00010}, 1517 + {0x00008264, 0x9d400010}, 1518 1518 {0x00008268, 0xffffffff}, 1519 1519 {0x0000826c, 0x0000ffff}, 1520 1520 {0x00008270, 0x00000000},
+9 -1
drivers/net/wireless/ath/ath9k/recv.c
··· 205 205 206 206 static void ath_rx_edma_cleanup(struct ath_softc *sc) 207 207 { 208 + struct ath_hw *ah = sc->sc_ah; 209 + struct ath_common *common = ath9k_hw_common(ah); 208 210 struct ath_buf *bf; 209 211 210 212 ath_rx_remove_buffer(sc, ATH9K_RX_QUEUE_LP); 211 213 ath_rx_remove_buffer(sc, ATH9K_RX_QUEUE_HP); 212 214 213 215 list_for_each_entry(bf, &sc->rx.rxbuf, list) { 214 - if (bf->bf_mpdu) 216 + if (bf->bf_mpdu) { 217 + dma_unmap_single(sc->dev, bf->bf_buf_addr, 218 + common->rx_bufsize, 219 + DMA_BIDIRECTIONAL); 215 220 dev_kfree_skb_any(bf->bf_mpdu); 221 + bf->bf_buf_addr = 0; 222 + bf->bf_mpdu = NULL; 223 + } 216 224 } 217 225 218 226 INIT_LIST_HEAD(&sc->rx.rxbuf);
+2 -2
drivers/net/wireless/iwlegacy/iwl-core.c
··· 937 937 &priv->contexts[IWL_RXON_CTX_BSS]); 938 938 #endif 939 939 940 - wake_up_interruptible(&priv->wait_command_queue); 940 + wake_up(&priv->wait_command_queue); 941 941 942 942 /* Keep the restart process from trying to send host 943 943 * commands by clearing the INIT status bit */ ··· 1746 1746 1747 1747 /* Set the FW error flag -- cleared on iwl_down */ 1748 1748 set_bit(STATUS_FW_ERROR, &priv->status); 1749 - wake_up_interruptible(&priv->wait_command_queue); 1749 + wake_up(&priv->wait_command_queue); 1750 1750 /* 1751 1751 * Keep the restart process from trying to send host 1752 1752 * commands by clearing the INIT status bit
+1 -1
drivers/net/wireless/iwlegacy/iwl-hcmd.c
··· 167 167 goto out; 168 168 } 169 169 170 - ret = wait_event_interruptible_timeout(priv->wait_command_queue, 170 + ret = wait_event_timeout(priv->wait_command_queue, 171 171 !test_bit(STATUS_HCMD_ACTIVE, &priv->status), 172 172 HOST_COMPLETE_TIMEOUT); 173 173 if (!ret) {
+3 -1
drivers/net/wireless/iwlegacy/iwl-tx.c
··· 625 625 cmd = txq->cmd[cmd_index]; 626 626 meta = &txq->meta[cmd_index]; 627 627 628 + txq->time_stamp = jiffies; 629 + 628 630 pci_unmap_single(priv->pci_dev, 629 631 dma_unmap_addr(meta, mapping), 630 632 dma_unmap_len(meta, len), ··· 647 645 clear_bit(STATUS_HCMD_ACTIVE, &priv->status); 648 646 IWL_DEBUG_INFO(priv, "Clearing HCMD_ACTIVE for command %s\n", 649 647 iwl_legacy_get_cmd_string(cmd->hdr.cmd)); 650 - wake_up_interruptible(&priv->wait_command_queue); 648 + wake_up(&priv->wait_command_queue); 651 649 } 652 650 653 651 /* Mark as unmapped */
+4 -4
drivers/net/wireless/iwlegacy/iwl3945-base.c
··· 840 840 wiphy_rfkill_set_hw_state(priv->hw->wiphy, 841 841 test_bit(STATUS_RF_KILL_HW, &priv->status)); 842 842 else 843 - wake_up_interruptible(&priv->wait_command_queue); 843 + wake_up(&priv->wait_command_queue); 844 844 } 845 845 846 846 /** ··· 2268 2268 iwl3945_reg_txpower_periodic(priv); 2269 2269 2270 2270 IWL_DEBUG_INFO(priv, "ALIVE processing complete.\n"); 2271 - wake_up_interruptible(&priv->wait_command_queue); 2271 + wake_up(&priv->wait_command_queue); 2272 2272 2273 2273 return; 2274 2274 ··· 2299 2299 iwl_legacy_clear_driver_stations(priv); 2300 2300 2301 2301 /* Unblock any waiting calls */ 2302 - wake_up_interruptible_all(&priv->wait_command_queue); 2302 + wake_up_all(&priv->wait_command_queue); 2303 2303 2304 2304 /* Wipe out the EXIT_PENDING status bit if we are not actually 2305 2305 * exiting the module */ ··· 2852 2852 2853 2853 /* Wait for START_ALIVE from ucode. Otherwise callbacks from 2854 2854 * mac80211 will not be run successfully. */ 2855 - ret = wait_event_interruptible_timeout(priv->wait_command_queue, 2855 + ret = wait_event_timeout(priv->wait_command_queue, 2856 2856 test_bit(STATUS_READY, &priv->status), 2857 2857 UCODE_READY_TIMEOUT); 2858 2858 if (!ret) {
+5 -5
drivers/net/wireless/iwlegacy/iwl4965-base.c
··· 575 575 wiphy_rfkill_set_hw_state(priv->hw->wiphy, 576 576 test_bit(STATUS_RF_KILL_HW, &priv->status)); 577 577 else 578 - wake_up_interruptible(&priv->wait_command_queue); 578 + wake_up(&priv->wait_command_queue); 579 579 } 580 580 581 581 /** ··· 925 925 handled |= CSR_INT_BIT_FH_TX; 926 926 /* Wake up uCode load routine, now that load is complete */ 927 927 priv->ucode_write_complete = 1; 928 - wake_up_interruptible(&priv->wait_command_queue); 928 + wake_up(&priv->wait_command_queue); 929 929 } 930 930 931 931 if (inta & ~handled) { ··· 1794 1794 iwl4965_rf_kill_ct_config(priv); 1795 1795 1796 1796 IWL_DEBUG_INFO(priv, "ALIVE processing complete.\n"); 1797 - wake_up_interruptible(&priv->wait_command_queue); 1797 + wake_up(&priv->wait_command_queue); 1798 1798 1799 1799 iwl_legacy_power_update_mode(priv, true); 1800 1800 IWL_DEBUG_INFO(priv, "Updated power mode\n"); ··· 1827 1827 iwl_legacy_clear_driver_stations(priv); 1828 1828 1829 1829 /* Unblock any waiting calls */ 1830 - wake_up_interruptible_all(&priv->wait_command_queue); 1830 + wake_up_all(&priv->wait_command_queue); 1831 1831 1832 1832 /* Wipe out the EXIT_PENDING status bit if we are not actually 1833 1833 * exiting the module */ ··· 2265 2265 2266 2266 /* Wait for START_ALIVE from Run Time ucode. Otherwise callbacks from 2267 2267 * mac80211 will not be run successfully. */ 2268 - ret = wait_event_interruptible_timeout(priv->wait_command_queue, 2268 + ret = wait_event_timeout(priv->wait_command_queue, 2269 2269 test_bit(STATUS_READY, &priv->status), 2270 2270 UCODE_READY_TIMEOUT); 2271 2271 if (!ret) {
+1
drivers/net/wireless/rtlwifi/usb.c
··· 863 863 u8 tid = 0; 864 864 u16 seq_number = 0; 865 865 866 + memset(&tcb_desc, 0, sizeof(struct rtl_tcb_desc)); 866 867 if (ieee80211_is_auth(fc)) { 867 868 RT_TRACE(rtlpriv, COMP_SEND, DBG_DMESG, ("MAC80211_LINKING\n")); 868 869 rtl_ips_nic_on(hw);
+3
net/wireless/nl80211.c
··· 4300 4300 if (len % sizeof(u32)) 4301 4301 return -EINVAL; 4302 4302 4303 + if (settings->n_akm_suites > NL80211_MAX_NR_AKM_SUITES) 4304 + return -EINVAL; 4305 + 4303 4306 memcpy(settings->akm_suites, data, len); 4304 4307 } 4305 4308