On Thu, May 05, 2016 at 11:09:27AM +0200, Stefan Sperling wrote:
> You need this commit to fix iwi on 5.9.
> Not sure about rsu(4) but perhaps this will fix it, too.

You can now also build a kernel from the 5.9-stable branch to get this patch.

> /usr/src/sys/net80211/ieee80211_node.c
> ----------------------------
> revision 1.100
> date: 2016/03/03 07:20:45;  author: gerhard;  state: Exp;  lines: +3 -1;  
> commitid: t8jeYaoxQko1CuFD;
> Restore assignment of ic_curmode that was accidentally removed when
> moving the ERP code to post-assoc phase. Fixes iwi(4) fatal firmware
> errors.
> 
> ok stsp@, sobrado@
> ----------------------------
> 
> Index: ieee80211_node.c
> ===================================================================
> RCS file: /cvs/src/sys/net80211/ieee80211_node.c,v
> retrieving revision 1.99
> retrieving revision 1.100
> diff -u -p -r1.99 -r1.100
> --- ieee80211_node.c  25 Jan 2016 15:14:22 -0000      1.99
> +++ ieee80211_node.c  3 Mar 2016 07:20:45 -0000       1.100
> @@ -630,6 +630,8 @@ ieee80211_end_scan(struct ifnet *ifp)
>               goto notfound;
>       (*ic->ic_node_copy)(ic, ic->ic_bss, selbs);
>       ni = ic->ic_bss;
> +
> +     ic->ic_curmode = ieee80211_chan2mode(ic, ni->ni_chan);
>  
>       if (ic->ic_flags & IEEE80211_F_RSNON)
>               ieee80211_choose_rsnparams(ic);

Reply via email to