mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
rsi: set immediate wakeup bit
immediate wakeup bit is set while sending internal management frame to the firmware. Signed-off-by: Karun Eagalapati <karun256@gmail.com> Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
d1f69e418f
commit
015240018b
@ -149,6 +149,7 @@ int rsi_send_mgmt_pkt(struct rsi_common *common,
|
||||
extnd_size = ((uintptr_t)skb->data & 0x3);
|
||||
|
||||
if (tx_params->flags & INTERNAL_MGMT_PKT) {
|
||||
skb->data[1] |= BIT(7); /* Immediate Wakeup bit*/
|
||||
if ((extnd_size) > skb_headroom(skb)) {
|
||||
rsi_dbg(ERR_ZONE, "%s: Unable to send pkt\n", __func__);
|
||||
dev_kfree_skb(skb);
|
||||
|
Loading…
Reference in New Issue
Block a user