summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/cfg80211.c
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan2011-11-04 14:04:55 +0100
committerKalle Valo2011-11-11 12:00:01 +0100
commit8cb6d9915f77aa4a01181613a5882a7c04e571c3 (patch)
tree51ffbaba8d0c3820ab2377ae2692bc1b0b2f58a7 /drivers/net/wireless/ath/ath6kl/cfg80211.c
parentath6kl: Fix tx packet drop in AP mode with bridge (diff)
downloadkernel-qcow2-linux-8cb6d9915f77aa4a01181613a5882a7c04e571c3.tar.gz
kernel-qcow2-linux-8cb6d9915f77aa4a01181613a5882a7c04e571c3.tar.xz
kernel-qcow2-linux-8cb6d9915f77aa4a01181613a5882a7c04e571c3.zip
ath6kl: Fix error in writing create_qos debugfs
100 bytes are allocated to store the parameters which are needed to create a priority stream. These 100 bytes are not sufficiant and throws error when running the following command. echo "6 2 3 1 1 9999999 9999999 9999999 7777777 0 6 45000 200 56789000 56789000 5678900 0 0 9999999 20000 0" > create_qos 179 bytes are needed when the following vlaues are given so that a maximum possible value in that data type can be given in decimal. echo "255 255 255 255 255 4294967295 4294967295 4294967295 4294967295 4294967295 255 65535 65535 4294967295 4294967295 4294967295 4294967295 4294967295 4294967295 4294967295 4294967295" > create_qos Following takes 187 bytes when given in hex echo "0xff 0xff 0xff 0xff 0xff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xff 0xffff 0xffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff" > create_qos Increase the size to 200 bytes so that it can hold upto the maximum value possible for that data type. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/cfg80211.c')
0 files changed, 0 insertions, 0 deletions