func: static int brcmf_cfg80211_tdls_oper(struct wiphy struct net_device *ndev, const u8 enum nl80211_tdls_operation oper) struct brcmf_tdls_iovar_le info ; ret = brcmf_convert_nl80211_tdls_oper ( oper ); static int brcmf_convert_nl80211_tdls_oper(enum nl80211_tdls_operation oper) int ret ; switch ( oper )  ret = BRCMF_TDLS_MANUAL_EP_DISCOVERY; ret = BRCMF_TDLS_MANUAL_EP_CREATE; ret = BRCMF_TDLS_MANUAL_EP_DELETE; ret = - EOPNOTSUPP; return ret ; if ( ret < 0 )  memset ( & info , 0 , sizeof ( info ) ); info . mode = ( u8 ) ret; memcpy ( info . ea , peer , ETH_ALEN ); ret = brcmf_fil_iovar_data_set ( ifp , "tdls_endpoint" , & info , sizeof ( info ) ); if ( ret < 0 )  brcmf_err ( "tdls_endpoint iovar failed: ret=%d\n" , ret ); return ret ; 