Search Linux Wireless

Re: [PATCH 2/3] cfg80211: Fill Toffset for each station

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2012-03-12 at 16:46 -0700, Ashok Nagarajan wrote:
>  		sinfo->filled |= STATION_INFO_LLID |
>  				 STATION_INFO_PLID |
> -				 STATION_INFO_PLINK_STATE;
> +				 STATION_INFO_PLINK_STATE |
> +				 STATION_INFO_T_OFFSET;
>  
>  		sinfo->llid = le16_to_cpu(sta->llid);
>  		sinfo->plid = le16_to_cpu(sta->plid);
>  		sinfo->plink_state = sta->plink_state;
> +		sinfo->t_offset = sta->t_offset;

I don't think this is a good idea. sta->t_offset is invalid when
RX_FLAG_MACTIME_MPDU was never set, so I don't think you should report
it to userspace in that case.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux