wok diff broadcom-wl/stuff/3.14.0.patch @ rev 25296

updated screenfetch (3.5.0 -> 3.9.1)
author Hans-G?nter Theisgen
date Tue Jul 19 17:51:41 2022 +0100 (2022-07-19)
parents fb26906597c0
children
line diff
     1.1 --- a/broadcom-wl/stuff/3.14.0.patch	Sat Jun 23 13:39:05 2018 +0200
     1.2 +++ b/broadcom-wl/stuff/3.14.0.patch	Tue Jul 19 17:51:41 2022 +0100
     1.3 @@ -58,7 +58,7 @@
     1.4   	u32 event = EVENT_TYPE(e);
     1.5   	u16 flags = EVENT_FLAGS(e);
     1.6   	u32 status = EVENT_STATUS(e);
     1.7 -+#if LINUX_VERSION_CODE => KERNEL_VERSION(3, 15, 0)
     1.8 ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
     1.9  +	struct ieee80211_channel *channel = NULL;
    1.10  +	struct wiphy *wiphy;
    1.11  +	u32 chanspec, chan;
    1.12 @@ -83,7 +83,7 @@
    1.13   			wl_get_assoc_ies(wl);
    1.14   			memcpy(&wl->bssid, &e->addr, ETHER_ADDR_LEN);
    1.15   			wl_update_bss_info(wl);
    1.16 -+#if LINUX_VERSION_CODE => KERNEL_VERSION(3, 15, 0)
    1.17 ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
    1.18  +			wiphy = wl_to_wiphy(wl);
    1.19  +			err = wl_dev_intvar_get(ndev, "chanspec", &chanspec);
    1.20  +			if (err) {