Skip to content

Commit 6ea25a6

Browse files
committed
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
2 parents 0a5f384 + 2b799a6 commit 6ea25a6

6 files changed

Lines changed: 15 additions & 7 deletions

File tree

‎drivers/net/wireless/ath/ath9k/hif_usb.c‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,9 @@ static int __hif_usb_tx(struct hif_device_usb *hif_dev)
219219
struct tx_buf *tx_buf = NULL;
220220
struct sk_buff *nskb = NULL;
221221
int ret = 0, i;
222-
u16 *hdr, tx_skb_cnt = 0;
222+
u16 tx_skb_cnt = 0;
223223
u8 *buf;
224+
__le16 *hdr;
224225

225226
if (hif_dev->tx.tx_skb_cnt == 0)
226227
return 0;
@@ -245,9 +246,9 @@ static int __hif_usb_tx(struct hif_device_usb *hif_dev)
245246

246247
buf = tx_buf->buf;
247248
buf += tx_buf->offset;
248-
hdr = (u16 *)buf;
249-
*hdr++ = nskb->len;
250-
*hdr++ = ATH_USB_TX_STREAM_MODE_TAG;
249+
hdr = (__le16 *)buf;
250+
*hdr++ = cpu_to_le16(nskb->len);
251+
*hdr++ = cpu_to_le16(ATH_USB_TX_STREAM_MODE_TAG);
251252
buf += 4;
252253
memcpy(buf, nskb->data, nskb->len);
253254
tx_buf->len = nskb->len + 4;

‎drivers/net/wireless/ath/ath9k/mac.c‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ void ath9k_hw_set_interrupts(struct ath_hw *ah, enum ath9k_int ints)
885885
struct ath_common *common = ath9k_hw_common(ah);
886886

887887
if (!(ints & ATH9K_INT_GLOBAL))
888-
ath9k_hw_enable_interrupts(ah);
888+
ath9k_hw_disable_interrupts(ah);
889889

890890
ath_dbg(common, ATH_DBG_INTERRUPT, "0x%x => 0x%x\n", omask, ints);
891891

@@ -963,7 +963,8 @@ void ath9k_hw_set_interrupts(struct ath_hw *ah, enum ath9k_int ints)
963963
REG_CLR_BIT(ah, AR_IMR_S5, AR_IMR_S5_TIM_TIMER);
964964
}
965965

966-
ath9k_hw_enable_interrupts(ah);
966+
if (ints & ATH9K_INT_GLOBAL)
967+
ath9k_hw_enable_interrupts(ah);
967968

968969
return;
969970
}

‎drivers/net/wireless/ath/carl9170/usb.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ static struct usb_device_id carl9170_usb_ids[] = {
118118
{ USB_DEVICE(0x057c, 0x8402) },
119119
/* Qwest/Actiontec 802AIN Wireless N USB Network Adapter */
120120
{ USB_DEVICE(0x1668, 0x1200) },
121+
/* Airlive X.USB a/b/g/n */
122+
{ USB_DEVICE(0x1b75, 0x9170) },
121123

122124
/* terminate */
123125
{}

‎drivers/net/wireless/iwlwifi/iwl-5000.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
#include "iwl-agn-debugfs.h"
5252

5353
/* Highest firmware API version supported */
54-
#define IWL5000_UCODE_API_MAX 2
54+
#define IWL5000_UCODE_API_MAX 5
5555
#define IWL5150_UCODE_API_MAX 2
5656

5757
/* Lowest firmware API version supported */

‎drivers/net/wireless/p54/p54usb.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ static struct usb_device_id p54u_table[] __devinitdata = {
9898
{USB_DEVICE(0x1413, 0x5400)}, /* Telsey 802.11g USB2.0 Adapter */
9999
{USB_DEVICE(0x1435, 0x0427)}, /* Inventel UR054G */
100100
{USB_DEVICE(0x1668, 0x1050)}, /* Actiontec 802UIG-1 */
101+
{USB_DEVICE(0x1740, 0x1000)}, /* Senao NUB-350 */
101102
{USB_DEVICE(0x2001, 0x3704)}, /* DLink DWL-G122 rev A2 */
102103
{USB_DEVICE(0x2001, 0x3705)}, /* D-Link DWL-G120 rev C1 */
103104
{USB_DEVICE(0x413c, 0x5513)}, /* Dell WLA3310 USB Wireless Adapter */

‎drivers/net/wireless/rndis_wlan.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2597,6 +2597,9 @@ static int rndis_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev,
25972597
__le32 mode;
25982598
int ret;
25992599

2600+
if (priv->device_type != RNDIS_BCM4320B)
2601+
return -ENOTSUPP;
2602+
26002603
netdev_dbg(usbdev->net, "%s(): %s, %d\n", __func__,
26012604
enabled ? "enabled" : "disabled",
26022605
timeout);

0 commit comments

Comments
 (0)