X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/9e42ce75843337dc2f36d5aa181dc6df591dff18..411b1f3f8673e22190da2841e0a1f096a1d8942b:/package/mac80211/patches/520-b43-autodepend-on-hwrandom.patch diff --git a/package/mac80211/patches/520-b43-autodepend-on-hwrandom.patch b/package/mac80211/patches/520-b43-autodepend-on-hwrandom.patch index 9ffdadfd2..0eef6bfdb 100644 --- a/package/mac80211/patches/520-b43-autodepend-on-hwrandom.patch +++ b/package/mac80211/patches/520-b43-autodepend-on-hwrandom.patch @@ -6,7 +6,7 @@ This patch is submitted upstream and can be removed when it hits compat-wireless --- a/drivers/net/wireless/b43/b43.h +++ b/drivers/net/wireless/b43/b43.h -@@ -624,9 +624,11 @@ struct b43_wl { +@@ -625,9 +625,11 @@ struct b43_wl { /* Stats about the wireless interface */ struct ieee80211_low_level_stats ieee_stats; @@ -21,7 +21,7 @@ This patch is submitted upstream and can be removed when it hits compat-wireless struct b43_rfkill rfkill; --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c -@@ -2982,6 +2982,7 @@ static void b43_security_init(struct b43 +@@ -2980,6 +2980,7 @@ static void b43_security_init(struct b43 b43_clear_keys(dev); } @@ -29,7 +29,7 @@ This patch is submitted upstream and can be removed when it hits compat-wireless static int b43_rng_read(struct hwrng *rng, u32 *data) { struct b43_wl *wl = (struct b43_wl *)rng->priv; -@@ -2997,17 +2998,21 @@ static int b43_rng_read(struct hwrng *rn +@@ -2995,17 +2996,21 @@ static int b43_rng_read(struct hwrng *rn return (sizeof(u16)); } @@ -52,7 +52,7 @@ This patch is submitted upstream and can be removed when it hits compat-wireless snprintf(wl->rng_name, ARRAY_SIZE(wl->rng_name), "%s_%s", KBUILD_MODNAME, wiphy_name(wl->hw->wiphy)); wl->rng.name = wl->rng_name; -@@ -3020,6 +3025,7 @@ static int b43_rng_init(struct b43_wl *w +@@ -3018,6 +3023,7 @@ static int b43_rng_init(struct b43_wl *w b43err(wl, "Failed to register the random " "number generator (%d)\n", err); }