[PATCH] brcmfmac: Fix kernel oops on resume when request firmware fails.

2017-05-23 Thread Enric Balletbo i Serra
brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac4354-sdio.bin failed with error -2 - do a suspend/resume cycle (echo mem > /sys/power/state) Protect against the NULL pointer derefence by checking if dev_get_drvdata returned a valid pointer. Signed-off-by: Enric Balletb

Re: [PATCH] cfg80211: Be able to set bss expire time at config stage.

2017-05-22 Thread Enric Balletbo i Serra
Hi, On 22/05/17 18:24, Johannes Berg wrote: > >> Couldn't userspace just look at NL80211_BSS_SEEN_MS_AGO to filter and >> create its own list? Given that the kernel provides the information >> userspace needs to figure out the age of a particular BSS, it doesn't >> seem like there needs to be a

[PATCH] cfg80211: Be able to set bss expire time at config stage.

2017-05-22 Thread Enric Balletbo i Serra
seconds, others can modify the value at config stage if they want lower or bigger values. Signed-off-by: Enric Balletbo i Serra --- net/wireless/Kconfig | 11 +++ net/wireless/core.c | 2 ++ net/wireless/core.h | 1 + net/wireless/scan.c | 6 ++ 4 files changed, 16 insertions