mwifiex: implement remain_on_channel and cancel_remain_on_channel
Add a new command to implement remain_on_channel and cancel_remain_on_channel. Signed-off-by: Stone Piao <piaoyun@marvell.com> Signed-off-by: Kiran Divekar <dkiran@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
2dbaf751b1
commit
7feb4c4831
@@ -174,7 +174,7 @@ mwifiex_process_mgmt_packet(struct mwifiex_adapter *adapter,
|
||||
pkt_len -= ETH_ALEN + sizeof(pkt_len);
|
||||
rx_pd->rx_pkt_length = cpu_to_le16(pkt_len);
|
||||
|
||||
cfg80211_rx_mgmt(priv->wdev, priv->mgmt_rx_freq,
|
||||
cfg80211_rx_mgmt(priv->wdev, priv->roc_cfg.chan.center_freq,
|
||||
CAL_RSSI(rx_pd->snr, rx_pd->nf),
|
||||
skb->data, pkt_len, GFP_ATOMIC);
|
||||
|
||||
|
Reference in New Issue
Block a user