uwb: Fix handling IEs with empty IE data in uwb_est_get_size()
commit9d839477f85438695bd870898ffa77347e61b637
authorAnderson Lizardo <anderson.lizardo@indt.org.br>
Wed, 17 Sep 2008 15:34:33 +0000 (17 16:34 +0100)
committerDavid Vrabel <dv02@dv02pc01.europe.root.pri>
Wed, 17 Sep 2008 15:54:32 +0000 (17 16:54 +0100)
treefc10478db6dbc280739875a2677ee84a4fce587d
parentb0a81328c287052cedf28e06d9b4648ad10b72d7
uwb: Fix handling IEs with empty IE data in uwb_est_get_size()

A DRP notification may sometimes have empty IE data. This patch fixes
uwb_est_get_size() so that this case is handled properly.

Signed-off-by: Anderson Lizardo <anderson.lizardo@indt.org.br>
Signed-off-by: David Vrabel <david.vrabel@csr.com>
drivers/uwb/est.c