Ignore:
Timestamp:
Apr 14, 2017, 9:41:36 PM (6 weeks ago)
Author:
brainslayer
Message:

kernel update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c

    r31574 r31859  
    22392239        struct brcmf_p2p_info *p2p = &cfg->p2p;
    22402240        struct brcmf_cfg80211_vif *vif;
     2241        enum nl80211_iftype iftype;
    22412242        bool wait_for_disable = false;
    22422243        int err;
     
    22452246        vif = container_of(wdev, struct brcmf_cfg80211_vif, wdev);
    22462247
     2248        iftype = vif->wdev.iftype;
    22472249        brcmf_cfg80211_arm_vif_event(cfg, vif);
    2248         switch (vif->wdev.iftype) {
     2250        switch (iftype) {
    22492251        case NL80211_IFTYPE_P2P_CLIENT:
    22502252                if (test_bit(BRCMF_VIF_STATUS_DISCONNECTING, &vif->sme_state))
     
    22762278
    22772279        err = 0;
    2278         if (vif->wdev.iftype != NL80211_IFTYPE_P2P_DEVICE) {
     2280        if (iftype != NL80211_IFTYPE_P2P_DEVICE) {
    22792281                brcmf_vif_clear_mgmt_ies(vif);
    22802282                err = brcmf_p2p_release_p2p_if(vif);
     
    22922294
    22932295        brcmf_cfg80211_arm_vif_event(cfg, NULL);
    2294         if (vif->wdev.iftype != NL80211_IFTYPE_P2P_DEVICE)
     2296        if (iftype != NL80211_IFTYPE_P2P_DEVICE)
    22952297                p2p->bss_idx[P2PAPI_BSSCFG_CONNECTION].vif = NULL;
    22962298
Note: See TracChangeset for help on using the changeset viewer.