Search Linux Wireless

Re: [RFC PATCH 1/3] mac80211: restructure disassoc/deauth flows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 8, 2008 at 11:23 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Sun, 2008-09-07 at 01:14 +0300, Tomas Winkler wrote:
>
>> @@ -1104,16 +1133,12 @@ static void ieee80211_associated(struct ieee80211_sub_if_data *sdata,
>>
>>       rcu_read_unlock();
>>
>> -     if (disassoc && sta)
>> -             sta_info_destroy(sta);
>> -
>> -     if (disassoc) {
>> -             ifsta->state = IEEE80211_STA_MLME_DISABLED;
>> -             ieee80211_set_associated(sdata, ifsta, 0);
>> -     } else {
>> +     if (disassoc)
>> +             ieee80211_set_disassoc(sdata, ifsta, 1, 1,
>> +                                     WLAN_REASON_PREV_AUTH_NOT_VALID);
>> +     else
>>               mod_timer(&ifsta->timer, jiffies +
>>                                     IEEE80211_MONITORING_INTERVAL);
>> -     }
>>  }
>>
>>
>
> This hunk has another bug, or rather, we need to add this hunk:
>
> @@ -1084,7 +1114,6 @@ static void ieee80211_associated(struct
>                                       "range\n",
>                                       sdata->dev->name, print_mac(mac, ifsta->bssid));
>                                disassoc = 1;
> -                               sta_info_unlink(&sta);
>                        } else
>                                ieee80211_send_probe_req(sdata, ifsta->bssid,
>                                                         local->scan_ssid,
>
Yep
This is rebasing bug. This line is newer than the original patch.
I will added this hunk.
Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux