From: Arend van Spriel Date: Fri, 5 Apr 2013 08:57:53 +0000 (+0200) Subject: brcmfmac: obtain wdev using vif object in action frame rx X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~170^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b57af6ef7d087f58b2603796f594659f3978bff;p=pandora-kernel.git brcmfmac: obtain wdev using vif object in action frame rx The function brcmf_p2p_notify_action_frame_rx() the wireless_dev is needed to pass the action frame to cfg80211. The wireless_dev is held in brcmf_cfg80211_vif object. Use that instead of the ieee80211_ptr in net_device as P2P_DEVICE interface does not have a net_device associated with it. Reviewed-by: Hante Meuleman Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed