···11281128 return 0;11291129}1130113011311131-static int brcms_pci_suspend(struct pci_dev *pdev)11321132-{11331133- pci_save_state(pdev);11341134- pci_disable_device(pdev);11351135- return pci_set_power_state(pdev, PCI_D3hot);11361136-}11371137-11381138-static int brcms_suspend(struct bcma_device *pdev, pm_message_t state)11311131+static int brcms_suspend(struct bcma_device *pdev)11391132{11401133 struct brcms_info *wl;11411134 struct ieee80211_hw *hw;···11461153 wl->pub->hw_up = false;11471154 spin_unlock_bh(&wl->lock);1148115511491149- /* temporarily do suspend ourselves */11501150- return brcms_pci_suspend(pdev->bus->host_pci);11511151-}11521152-11531153-static int brcms_pci_resume(struct pci_dev *pdev)11541154-{11551155- int err = 0;11561156- uint val;11571157-11581158- err = pci_set_power_state(pdev, PCI_D0);11591159- if (err)11601160- return err;11611161-11621162- pci_restore_state(pdev);11631163-11641164- err = pci_enable_device(pdev);11651165- if (err)11661166- return err;11671167-11681168- pci_set_master(pdev);11691169-11701170- pci_read_config_dword(pdev, 0x40, &val);11711171- if ((val & 0x0000ff00) != 0)11721172- pci_write_config_dword(pdev, 0x40, val & 0xffff00ff);11561156+ pr_debug("brcms_suspend ok\n");1173115711741158 return 0;11751159}1176116011771161static int brcms_resume(struct bcma_device *pdev)11781162{11791179- /*11801180- * just do pci resume for now until bcma supports it.11811181- */11821182- return brcms_pci_resume(pdev->bus->host_pci);11631163+ pr_debug("brcms_resume ok\n");11641164+ return 0;11831165}1184116611851167static struct bcma_driver brcms_bcma_driver = {
+2-2
drivers/net/wireless/ipw2x00/ipw2200.c
···78487848 * more efficiently than we can parse it. ORDER MATTERS HERE */78497849 struct ipw_rt_hdr *ipw_rt;7850785078517851- short len = le16_to_cpu(pkt->u.frame.length);78517851+ unsigned short len = le16_to_cpu(pkt->u.frame.length);7852785278537853 /* We received data from the HW, so stop the watchdog */78547854 dev->trans_start = jiffies;···80238023 s8 signal = frame->rssi_dbm - IPW_RSSI_TO_DBM;80248024 s8 noise = (s8) le16_to_cpu(frame->noise);80258025 u8 rate = frame->rate;80268026- short len = le16_to_cpu(pkt->u.frame.length);80268026+ unsigned short len = le16_to_cpu(pkt->u.frame.length);80278027 struct sk_buff *skb;80288028 int hdr_only = 0;80298029 u16 filter = priv->prom_priv->filter;
···162162163163 int (*probe)(struct bcma_device *dev);164164 void (*remove)(struct bcma_device *dev);165165- int (*suspend)(struct bcma_device *dev, pm_message_t state);165165+ int (*suspend)(struct bcma_device *dev);166166 int (*resume)(struct bcma_device *dev);167167 void (*shutdown)(struct bcma_device *dev);168168
+1-1
net/mac80211/cfg.c
···791791 if (set & BIT(NL80211_STA_FLAG_AUTHORIZED))792792 ret = sta_info_move_state_checked(sta,793793 IEEE80211_STA_AUTHORIZED);794794- else794794+ else if (test_sta_flag(sta, WLAN_STA_AUTHORIZED))795795 ret = sta_info_move_state_checked(sta,796796 IEEE80211_STA_ASSOC);797797 if (ret)