]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
prism54: call BUG_ON() earlier
authorDan Carpenter <error27@gmail.com>
Sat, 10 Jul 2010 08:53:38 +0000 (10:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jul 2010 20:05:32 +0000 (16:05 -0400)
commit4c92831d99827971cf2854cfa7f884213099428f
treefafce6b1a9c082952a91659d18e7f7d5970dd45c
parent72e93e9161a917017f6c3cac216d813088ec2d1f
prism54: call BUG_ON() earlier

This test is off by one because strlen() doesn't include the NULL
terminator.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/prism54/isl_ioctl.c