Options for getting into passcode-locked iPad 2 / iOS 5.1.1 (JB'd)?
The canonical way to fix this is to erase and restore the device.

See http://support.apple.com/en-us/HT1212 for more details and options.