Commit f3606108 authored by Ryosuke Saito's avatar Ryosuke Saito Committed by Gary Bisson
Browse files

qcacld: fix incorrect parameters to cfg80211_rx_mgmt

Fix parameters to cfg80211_rx_mgmt in hdd_indicateMgmtFrame, which is
introduced in the commit:

commit bfbb23eb


Author: Gary Bisson <gary.bisson@boundarydevices.com>
Date:   Fri Jul 22 15:17:34 2016 +0200

    Update API to build against 4.1 kernel
Signed-off-by: default avatarRyosuke Saito <raitosyo@gmail.com>
parent 47ff7679
......@@ -2649,9 +2649,8 @@ void hdd_indicateMgmtFrame( hdd_adapter_t *pAdapter,
hddLog( LOG1, FL("Indicate Frame over NL80211 Interface"));
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0))
cfg80211_rx_mgmt( pAdapter->dev->ieee80211_ptr, pRemainChanCtx->action_pkt_buff.freq, 0,
pRemainChanCtx->action_pkt_buff.frame_ptr,
pRemainChanCtx->action_pkt_buff.frame_length,
cfg80211_rx_mgmt( pAdapter->dev->ieee80211_ptr, freq, 0,
pbFrames, nFrameLength,
0 );
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0))
cfg80211_rx_mgmt( pAdapter->dev->ieee80211_ptr, freq, 0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment