aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/mwl/941-mwl8k-Fix-rate_idx-underflow.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/mac80211/patches/mwl/941-mwl8k-Fix-rate_idx-underflow.patch')
-rw-r--r--package/kernel/mac80211/patches/mwl/941-mwl8k-Fix-rate_idx-underflow.patch11
1 files changed, 3 insertions, 8 deletions
diff --git a/package/kernel/mac80211/patches/mwl/941-mwl8k-Fix-rate_idx-underflow.patch b/package/kernel/mac80211/patches/mwl/941-mwl8k-Fix-rate_idx-underflow.patch
index 4f4812be80..d034dcf51f 100644
--- a/package/kernel/mac80211/patches/mwl/941-mwl8k-Fix-rate_idx-underflow.patch
+++ b/package/kernel/mac80211/patches/mwl/941-mwl8k-Fix-rate_idx-underflow.patch
@@ -37,11 +37,9 @@ Signed-off-by: Petr Štetiar <ynezz@true.cz>
drivers/net/wireless/marvell/mwl8k.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
-diff --git a/drivers/net/wireless/marvell/mwl8k.c b/drivers/net/wireless/marvell/mwl8k.c
-index 8e4e9b6..ffc565a 100644
--- a/drivers/net/wireless/marvell/mwl8k.c
+++ b/drivers/net/wireless/marvell/mwl8k.c
-@@ -441,6 +441,9 @@ struct mwl8k_sta {
+@@ -441,6 +441,9 @@ static const struct ieee80211_rate mwl8k
#define MWL8K_CMD_UPDATE_STADB 0x1123
#define MWL8K_CMD_BASTREAM 0x1125
@@ -51,7 +49,7 @@ index 8e4e9b6..ffc565a 100644
static const char *mwl8k_cmd_name(__le16 cmd, char *buf, int bufsize)
{
u16 command = le16_to_cpu(cmd);
-@@ -1016,8 +1019,9 @@ static void mwl8k_rxd_ap_refill(void *_rxd, dma_addr_t addr, int len)
+@@ -1016,8 +1019,9 @@ mwl8k_rxd_ap_process(void *_rxd, struct
if (rxd->channel > 14) {
status->band = NL80211_BAND_5GHZ;
@@ -63,7 +61,7 @@ index 8e4e9b6..ffc565a 100644
} else {
status->band = NL80211_BAND_2GHZ;
}
-@@ -1124,8 +1128,9 @@ static void mwl8k_rxd_sta_refill(void *_rxd, dma_addr_t addr, int len)
+@@ -1124,8 +1128,9 @@ mwl8k_rxd_sta_process(void *_rxd, struct
if (rxd->channel > 14) {
status->band = NL80211_BAND_5GHZ;
@@ -75,6 +73,3 @@ index 8e4e9b6..ffc565a 100644
} else {
status->band = NL80211_BAND_2GHZ;
}
---
-1.9.1
-