Re: [PATCH] wireless: brcmfmac: cfg80211: Fix check for ISO3166 code

2018-03-15 Thread Arend van Spriel
On 3/15/2018 10:30 AM, Kalle Valo wrote: Arend van Spriel writes: On 3/15/2018 10:15 AM, Kalle Valo wrote: Stefan Wahren writes: The commit "regulatory: add NUL to request alpha2" increases the length of alpha2 to 3. This causes a regression on brcmfmac, because brcmf_cfg80211_reg_notifier

Re: [PATCH] wireless: brcmfmac: cfg80211: Fix check for ISO3166 code

2018-03-15 Thread Kalle Valo
Arend van Spriel writes: > On 3/15/2018 10:15 AM, Kalle Valo wrote: >> Stefan Wahren writes: >> >>> The commit "regulatory: add NUL to request alpha2" increases the length of >>> alpha2 to 3. This causes a regression on brcmfmac, because >>> brcmf_cfg80211_reg_notifier() expect valid ISO3166 cod

Re: [PATCH] wireless: brcmfmac: cfg80211: Fix check for ISO3166 code

2018-03-15 Thread Arend van Spriel
On 3/15/2018 10:15 AM, Kalle Valo wrote: Stefan Wahren writes: The commit "regulatory: add NUL to request alpha2" increases the length of alpha2 to 3. This causes a regression on brcmfmac, because brcmf_cfg80211_reg_notifier() expect valid ISO3166 codes in the complete array. So fix this accor

Re: [PATCH] wireless: brcmfmac: cfg80211: Fix check for ISO3166 code

2018-03-15 Thread Kalle Valo
Stefan Wahren writes: > The commit "regulatory: add NUL to request alpha2" increases the length of > alpha2 to 3. This causes a regression on brcmfmac, because > brcmf_cfg80211_reg_notifier() expect valid ISO3166 codes in the complete > array. So fix this accordingly. > > Signed-off-by: Stefan Wa

Re: [PATCH] wireless: brcmfmac: cfg80211: Fix check for ISO3166 code

2018-03-15 Thread Kalle Valo
Stefan Wahren writes: > Am 15.03.2018 um 07:27 schrieb Rafał Miłecki: >> On 14 March 2018 at 20:02, Stefan Wahren wrote: >>> The commit "regulatory: add NUL to request alpha2" increases the length of >>> alpha2 to 3. This causes a regression on brcmfmac, because >>> brcmf_cfg80211_reg_notifier()

Re: [PATCH] wireless: brcmfmac: cfg80211: Fix check for ISO3166 code

2018-03-15 Thread Stefan Wahren
Am 15.03.2018 um 07:27 schrieb Rafał Miłecki: On 14 March 2018 at 20:02, Stefan Wahren wrote: The commit "regulatory: add NUL to request alpha2" increases the length of alpha2 to 3. This causes a regression on brcmfmac, because brcmf_cfg80211_reg_notifier() expect valid ISO3166 codes in the com

Re: [PATCH] wireless: brcmfmac: cfg80211: Fix check for ISO3166 code

2018-03-14 Thread Rafał Miłecki
On 14 March 2018 at 20:02, Stefan Wahren wrote: > The commit "regulatory: add NUL to request alpha2" increases the length of > alpha2 to 3. This causes a regression on brcmfmac, because > brcmf_cfg80211_reg_notifier() expect valid ISO3166 codes in the complete > array. So fix this accordingly. > >

Re: [PATCH] wireless: brcmfmac: cfg80211: Fix check for ISO3166 code

2018-03-14 Thread Franky Lin
On Wed, Mar 14, 2018 at 12:02 PM, Stefan Wahren wrote: > The commit "regulatory: add NUL to request alpha2" increases the length of > alpha2 to 3. This causes a regression on brcmfmac, because > brcmf_cfg80211_reg_notifier() expect valid ISO3166 codes in the complete > array. So fix this according

[PATCH] wireless: brcmfmac: cfg80211: Fix check for ISO3166 code

2018-03-14 Thread Stefan Wahren
The commit "regulatory: add NUL to request alpha2" increases the length of alpha2 to 3. This causes a regression on brcmfmac, because brcmf_cfg80211_reg_notifier() expect valid ISO3166 codes in the complete array. So fix this accordingly. Signed-off-by: Stefan Wahren --- drivers/net/wireless/bro