Skip to content

Commit fb2fcfb

Browse files
airtower-lunaPing-Ke Shih
authored andcommitted
wifi: rtw88: sdio: Fix disconnection after beacon loss
This is the equivalent of commit 28818b4 ("wifi: rtw88: usb: Fix disconnection after beacon loss") for SDIO chips. Tested on Pinephone (RTL8723CS), random disconnections became rare, instead of a frequent nuisance. Cc: [email protected] Signed-off-by: Fiona Klute <[email protected]> Tested-by: Vasily Khoruzhick <[email protected]> # Tested on Pinebook Acked-by: Ping-Ke Shih <[email protected]> Signed-off-by: Ping-Ke Shih <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent a806a81 commit fb2fcfb

File tree

1 file changed

+2
-0
lines changed
  • drivers/net/wireless/realtek/rtw88

1 file changed

+2
-0
lines changed

drivers/net/wireless/realtek/rtw88/sdio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,8 @@ static void rtw_sdio_indicate_tx_status(struct rtw_dev *rtwdev,
11921192
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
11931193
struct ieee80211_hw *hw = rtwdev->hw;
11941194

1195+
skb_pull(skb, rtwdev->chip->tx_pkt_desc_sz);
1196+
11951197
/* enqueue to wait for tx report */
11961198
if (info->flags & IEEE80211_TX_CTL_REQ_TX_STATUS) {
11971199
rtw_tx_report_enqueue(rtwdev, skb, tx_data->sn);

0 commit comments

Comments
 (0)