summaryrefslogtreecommitdiff
path: root/net/mac80211/scan.c
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2014-03-19 21:00:06 (GMT)
committerDavid S. Miller <davem@davemloft.net>2014-03-20 20:57:35 (GMT)
commit259fef033ffe4e70bf7f358c53400a09f1b5384e (patch)
tree2c972b7f21f84be2ea4ba8afa319ffc700f2ccf1 /net/mac80211/scan.c
parentbfe9b3f8c5229e5de4fd18e941866bc410d16334 (diff)
downloadlinux-259fef033ffe4e70bf7f358c53400a09f1b5384e.tar.xz
net: cdc_ncm: respect operator preferred MTU reported by MBIM
According to "Universal Serial Bus Communications Class Subclass Specification for Mobile Broadband Interface Model, Revision 1.0, Errata-1" published by USB-IF, the wMTU field of the MBIM extended functional descriptor indicates the operator preferred MTU for IP data streams. This patch modifies cdc_ncm_setup to ensure that the MTU value set on the usbnet device does not exceed the operator preferred MTU indicated by wMTU if the MBIM device exposes a MBIM extended functional descriptor. Signed-off-by: Ben Chan <benchan@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/scan.c')
0 files changed, 0 insertions, 0 deletions